Updating any resource does not work for non-admin user

Bug #1477064 reported by Magesh GV
26
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Group Based Policy UI
Fix Released
High
ank

Bug Description

All update operations fail for a non-admin user.

This is because, unlike the cli, the UI sends not just the updated fields, but all the existing data as well which includes the current value of shared attribute.

The gbp policy.json forbids updating the shared attribute by a non admin user and hence all updates are raising error.

Changed in group-based-policy-ui:
status: New → Confirmed
importance: Undecided → High
milestone: none → kilo-gbp-4
Revision history for this message
ank (ank.b) wrote :

Thats means non-admin user is not allowed to create shared resources.Is that true?

ank (ank.b)
Changed in group-based-policy-ui:
assignee: nobody → ank (ank.b)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to group-based-policy-ui (master)

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

Changed in group-based-policy-ui:
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to group-based-policy-ui (master)

Reviewed: https://review.openstack.org/207850
Committed: https://git.openstack.org/cgit/stackforge/group-based-policy-ui/commit/?id=c0278d91d569f523aae69539929b0ab51c3db5e3
Submitter: Jenkins
Branch: master

commit c0278d91d569f523aae69539929b0ab51c3db5e3
Author: ank <email address hidden>
Date: Fri Jul 31 17:20:45 2015 +0530

    Added fix to send only updated fields

    Fixed L3Policy update issues

    Change-Id: I339a2c799c7684725464147bedf7010414aeec59
    Closes-Bug: 1477064

Changed in group-based-policy-ui:
status: In Progress → Fix Committed
Changed in group-based-policy-ui:
status: Fix Committed → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to group-based-policy-ui (stable/juno)

Fix proposed to branch: stable/juno
Review: https://review.openstack.org/219309

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to group-based-policy-ui (stable/juno)

Reviewed: https://review.openstack.org/219309
Committed: https://git.openstack.org/cgit/stackforge/group-based-policy-ui/commit/?id=c6436da6258a3151b4e1e7e2149598bbe795e0ec
Submitter: Jenkins
Branch: stable/juno

commit c6436da6258a3151b4e1e7e2149598bbe795e0ec
Author: ank <email address hidden>
Date: Fri Jul 31 17:20:45 2015 +0530

    Added fix to send only updated fields

    Fixed L3Policy update issues

    Change-Id: I339a2c799c7684725464147bedf7010414aeec59
    Closes-Bug: 1477064
    (cherry picked from commit c0278d91d569f523aae69539929b0ab51c3db5e3)

tags: added: in-stable-juno
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.