cookbook-openstack-block-st.../templates/default/policy.json.erb
John Dewey 36772c2daa Removed comments from policy.json
The policy.json file cannot contain comments or it fails
to parse.

Change-Id: I0df5775d8322ff37f54c3c78921afd6463afd227
2013-06-05 10:26:53 -07:00

35 lines
1.6 KiB
Plaintext

{
"context_is_admin": [<%= node["openstack"]["block-storage"]["policy"]["context_is_admin"] %>],
"admin_or_owner": [<%= node["openstack"]["block-storage"]["policy"]["admin_or_owner"] %>],
"default": [<%= node["openstack"]["block-storage"]["policy"]["default"] %>],
"admin_api": [<%= node["openstack"]["block-storage"]["policy"]["admin_api"] %>],
"volume:create": [],
"volume:get_all": [],
"volume:get_volume_metadata": [],
"volume:get_snapshot": [],
"volume:get_all_snapshots": [],
"volume_extension:types_manage": [["rule:admin_api"]],
"volume_extension:types_extra_specs": [["rule:admin_api"]],
"volume_extension:extended_snapshot_attributes": [],
"volume_extension:volume_image_metadata": [],
"volume_extension:quotas:show": [],
"volume_extension:quotas:update_for_project": [["rule:admin_api"]],
"volume_extension:quotas:update_for_user": [["rule:admin_or_projectadmin"]],
"volume_extension:quota_classes": [],
"volume_extension:volume_admin_actions:reset_status": [["rule:admin_api"]],
"volume_extension:snapshot_admin_actions:reset_status": [["rule:admin_api"]],
"volume_extension:volume_admin_actions:force_delete": [["rule:admin_api"]],
"volume_extension:snapshot_admin_actions:force_delete": [["rule:admin_api"]],
"volume_extension:volume_host_attribute": [["rule:admin_api"]],
"volume_extension:volume_tenant_attribute": [["rule:admin_api"]],
"volume_extension:hosts": [["rule:admin_api"]],
"volume_extension:services": [["rule:admin_api"]],
"volume:services": [["rule:admin_api"]]
}