-
Notifications
You must be signed in to change notification settings - Fork 0
/
policy-glance-stable-wallaby.yaml
56 lines (56 loc) · 3.01 KB
/
policy-glance-stable-wallaby.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
"default": ""
"context_is_admin": "role:admin"
"add_image": "role:admin or (role:member and project_id:%(project_id)s)"
"delete_image": "role:admin or (role:member and project_id:%(project_id)s)"
"get_image": "role:admin or (role:reader and (project_id:%(project_id)s or project_id:%(member_id)s or "community":%(visibility)s or "public":%(visibility)s))"
"get_images": "role:admin or (role:reader and project_id:%(project_id)s)"
"modify_image": "role:admin or (role:member and project_id:%(project_id)s)"
"publicize_image": "role:admin"
"communitize_image": "role:admin or (role:member and project_id:%(project_id)s)"
"download_image": "role:admin or (role:member and (project_id:%(project_id)s or project_id:%(member_id)s or "community":%(visibility)s or "public":%(visibility)s))"
"upload_image": "role:admin or (role:member and project_id:%(project_id)s)"
"delete_image_location": "role:admin"
"get_image_location": "role:admin or (role:reader and project_id:%(project_id)s)"
"set_image_location": "role:admin or (role:member and project_id:%(project_id)s)"
"add_member": "role:admin or (role:member and project_id:%(project_id)s)"
"delete_member": "role:admin or (role:member and project_id:%(project_id)s)"
"get_member": "role:admin or (role:reader and project_id:%(project_id)s)"
"get_members": "role:admin or (role:reader and project_id:%(project_id)s)"
"modify_member": "role:admin or (role:member and project_id:%(project_id)s)"
"manage_image_cache": "role:admin"
"deactivate": "role:admin or (role:member and project_id:%(project_id)s)"
"reactivate": "role:admin or (role:member and project_id:%(project_id)s)"
"copy_image": "role:admin"
"get_task": "rule:default"
"get_tasks": "rule:default"
"add_task": "rule:default"
"modify_task": "rule:default"
"tasks_api_access": "role:admin"
"metadef_default": ""
"metadef_admin": "role:admin"
"get_metadef_namespace": "rule:metadef_default"
"get_metadef_namespaces": "rule:metadef_default"
"modify_metadef_namespace": "rule:metadef_admin"
"add_metadef_namespace": "rule:metadef_admin"
"delete_metadef_namespace": "rule:metadef_admin"
"get_metadef_object": "rule:metadef_default"
"get_metadef_objects": "rule:metadef_default"
"modify_metadef_object": "rule:metadef_admin"
"add_metadef_object": "rule:metadef_admin"
"delete_metadef_object": "rule:metadef_admin"
"list_metadef_resource_types": "rule:metadef_default"
"get_metadef_resource_type": "rule:metadef_default"
"add_metadef_resource_type_association": "rule:metadef_admin"
"remove_metadef_resource_type_association": "rule:metadef_admin"
"get_metadef_property": "rule:metadef_default"
"get_metadef_properties": "rule:metadef_default"
"modify_metadef_property": "rule:metadef_admin"
"add_metadef_property": "rule:metadef_admin"
"remove_metadef_property": "rule:metadef_admin"
"get_metadef_tag": "rule:metadef_default"
"get_metadef_tags": "rule:metadef_default"
"modify_metadef_tag": "rule:metadef_admin"
"add_metadef_tag": "rule:metadef_admin"
"add_metadef_tags": "rule:metadef_admin"
"delete_metadef_tag": "rule:metadef_admin"
"delete_metadef_tags": "rule:metadef_admin"