User are not allowed to delete object which the user created under Container

Bug #1317016 reported by Wu Hong Guang
32
This bug affects 5 people
Affects Status Importance Assigned to Milestone
OpenStack Dashboard (Horizon)
Fix Released
Undecided
Masco
Icehouse
Fix Released
Undecided
James Nzomo

Bug Description

Testing step:
1: create a pseudo-folder object pf1
2: delete pf1

Testing result:

Error: You are not allowed to delete object: pf1

Wu Hong Guang (whg)
summary: - User are not allowed to delete object which the user created in a under
+ User are not allowed to delete object which the user created under
Container
Masco (masco)
Changed in horizon:
status: New → In Progress
assignee: nobody → Masco Kaliyamoorthy (masco)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to horizon (master)

Fix proposed to branch: master
Review: https://review.openstack.org/95460

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to horizon (master)

Reviewed: https://review.openstack.org/95460
Committed: https://git.openstack.org/cgit/openstack/horizon/commit/?id=a46ce9e3ffaa4ee18618ea18496a76508717c871
Submitter: Jenkins
Branch: master

commit a46ce9e3ffaa4ee18618ea18496a76508717c871
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: Ifced62b24a9b6e4800b70dae2912ff16d809743d
    Closes-Bug: #1317016
    Co-Authored-By: Mizielski Robert <email address hidden>

Changed in horizon:
status: In Progress → Fix Committed
Matthias Runge (mrunge)
tags: added: icehouse-backport-potential
Changed in horizon:
milestone: none → juno-2
status: Fix Committed → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to horizon (stable/icehouse)

Fix proposed to branch: stable/icehouse
Review: https://review.openstack.org/117779

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to horizon (stable/icehouse)

Reviewed: https://review.openstack.org/117779
Committed: https://git.openstack.org/cgit/openstack/horizon/commit/?id=faac9e7afb6a3925ed057200a19bec963933fe1b
Submitter: Jenkins
Branch: stable/icehouse

commit faac9e7afb6a3925ed057200a19bec963933fe1b
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: Ifced62b24a9b6e4800b70dae2912ff16d809743d
    Closes-Bug: #1317016
    Co-Authored-By: Mizielski Robert <email address hidden>
    (cherry picked from commit a46ce9e3ffaa4ee18618ea18496a76508717c871)

tags: added: in-stable-icehouse
Thierry Carrez (ttx)
Changed in horizon:
milestone: juno-2 → 2014.2
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.