35 lines
1.4 KiB
JSON
35 lines
1.4 KiB
JSON
|
{
|
||
|
"context_is_admin": [["role:admin"]],
|
||
|
"admin_or_owner": [["is_admin:True"], ["project_id:%(project_id)s"]],
|
||
|
"default": [["rule:admin_or_owner"]],
|
||
|
|
||
|
"admin_api": [["is_admin:True"]],
|
||
|
|
||
|
"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"]]
|
||
|
}
|