Through horizon the user not able to delete a
pseudo-folder. it giving a error message like
'you are not allowed to delete object'
problem-1:
'subfolders' datatype is not added in the
allowed datatypes tuple, so the delete operation
is not allowed for pseudo-folder. now the 'subfolder'
is added in the tuple.
problem-2:
the object name is starting with container name and
not trailing with '/'. now the object name is modified
before sending to swift client.(removing the container
name and trailing with '/'.
Change-Id: Ifced62b24a9b6e4800b70dae2912ff16d809743d
Closes-Bug: #1317016
Co-Authored-By: Mizielski Robert <email address hidden>
Reviewed: https:/ /review. openstack. org/95460 /git.openstack. org/cgit/ openstack/ horizon/ commit/ ?id=a46ce9e3ffa a4ee18618ea1849 6a76508717c871
Committed: https:/
Submitter: Jenkins
Branch: master
commit a46ce9e3ffaa4ee 18618ea18496a76 508717c871
Author: masco <email address hidden>
Date: Mon May 26 14:17:07 2014 +0530
Not able to delete a pseudo-folder via horizon
Through horizon the user not able to delete a
pseudo-folder. it giving a error message like
'you are not allowed to delete object'
problem-1:
'subfolders' datatype is not added in the
allowed datatypes tuple, so the delete operation
is not allowed for pseudo-folder. now the 'subfolder'
is added in the tuple.
problem-2:
the object name is starting with container name and
not trailing with '/'. now the object name is modified
before sending to swift client.(removing the container
name and trailing with '/'.
Change-Id: Ifced62b24a9b6e 4800b70dae2912f f16d809743d
Closes-Bug: #1317016
Co-Authored-By: Mizielski Robert <email address hidden>