horizon/openstack_dashboard/conf/glance_policy.json
lin-hua-cheng a300c605da Adding policy checks for glance
Additionally, added the missing policy checks on Image panel.

Change-Id: Ia9fa2fcdfb12f97ff27150a69d964be47ab717cf
Implements: blueprint image-rbac
2014-01-30 21:01:41 -08:00

34 lines
737 B
JSON

{
"context_is_admin": "role:admin",
"admin_or_owner": "is_admin:True or project_id:%(project_id)s",
"default": "rule:admin_or_owner",
"add_image": "",
"delete_image": "rule:admin_or_owner",
"get_image": "",
"get_images": "",
"modify_image": "rule:admin_or_owner",
"publicize_image": "",
"copy_from": "",
"download_image": "",
"upload_image": "",
"delete_image_location": "",
"get_image_location": "",
"set_image_location": "",
"add_member": "",
"delete_member": "",
"get_member": "",
"get_members": "",
"modify_member": "",
"manage_image_cache": "role:admin",
"get_task": "",
"get_tasks": "",
"add_task": "",
"modify_task": ""
}