a300c605da
Additionally, added the missing policy checks on Image panel. Change-Id: Ia9fa2fcdfb12f97ff27150a69d964be47ab717cf Implements: blueprint image-rbac
34 lines
737 B
JSON
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": ""
|
|
}
|