remove "volume:services" rule from policy.json

Bug #1471990 reported by Anna Sortland
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Cinder
Fix Released
Medium
Anna Sortland

Bug Description

I don't see any cinder code that is using this policy rule in sample /etc/cinder/policy.json:
   "volume:services": "rule:admin_api".
The cinder/api/contrib/services.py is using "volume_extension:services": "rule:admin_api".
If "volume:services" rule is not used, it should be deleted.

Anna Sortland (annasort)
Changed in cinder:
assignee: nobody → Anna Sortland (annasort)
Jay Bryant (jsbryant)
Changed in cinder:
importance: Undecided → Medium
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to cinder (master)

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

Changed in cinder:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to cinder (master)

Reviewed: https://review.openstack.org/202599
Committed: https://git.openstack.org/cgit/openstack/cinder/commit/?id=e71c02ecc95e79c96b9e4c07b1aae5bb7377f960
Submitter: Jenkins
Branch: master

commit e71c02ecc95e79c96b9e4c07b1aae5bb7377f960
Author: Anna Sortland <email address hidden>
Date: Thu Jul 16 09:33:46 2015 -0500

    Remove "volume:services" rule from policy.json

    The rule "volume:services": "rule:admin_api" does not seem to be used.
    The cinder/api/contrib/services.py is using "volume_extension:services".
    This change deletes "volume:services" rule from policy.json.

    Change-Id: Id1d23e44c5b7e8361e21c8568ff67f0012e5c097
    Closes-Bug: #1471990

Changed in cinder:
status: In Progress → Fix Committed
Changed in cinder:
milestone: none → liberty-2
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in cinder:
milestone: liberty-2 → 7.0.0
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.