Some policies are not documented in the sample policy.json

Bug #1326797 reported by Alex Meade
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Shared File Systems Service (Manila)
Fix Released
Low
Dan Sneddon

Bug Description

Some policies for specific actions exist in Manila but are not documented in etc/manila/policy.json. This makes someone have to dig to see what is available when looking quickly.

Some of the actions missing are:

allow_access
deny_access
access_get_all
access_get

create_snapshot

reset_status

Dan Sneddon (dsneddon)
Changed in manila:
assignee: nobody → dDan Sneddon (dsneddon)
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to manila (master)

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

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

Reviewed: https://review.openstack.org/108138
Committed: https://git.openstack.org/cgit/stackforge/manila/commit/?id=8b541ab12dd43b3d50b2210355bb86d8704180ce
Submitter: Jenkins
Branch: master

commit 8b541ab12dd43b3d50b2210355bb86d8704180ce
Author: Dan Sneddon <email address hidden>
Date: Fri Jul 18 12:26:03 2014 -0700

    Adds undocumented policies and defaults in policy.json

    Some policies for specific actions exist in Manila but are not documented in
    etc/manila/policy.json. This makes someone have to dig to see what is available
    when looking quickly.

    The fix adds all actions from the APIs to policy.json, with default policy for
    most of the newly added actions, and rule:admin_api for the rest. The fix
    changes the share_network and security_service actions to default. The fix also
    removes four actions no longer in the API. The actions quotas:update_for_user
    and quotas:update_for_project are replaced with quotas:update. The actions
    share_network:activate and share:network:deactivate have been removed.

    Change-Id: I2e9510d59d0d3b70974f1a851ee5d2246154caf4
    Closes-Bug: #1326797

Changed in manila:
status: In Progress → Fix Committed
Changed in manila:
status: Fix Committed → Fix Released
Changed in manila:
milestone: none → juno-3
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.