-
Notifications
You must be signed in to change notification settings - Fork 0
/
policy-nova-stable-wallaby.yaml
202 lines (202 loc) · 13.4 KB
/
policy-nova-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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
"context_is_admin": "role:admin"
"admin_or_owner": "is_admin:True or project_id:%(project_id)s"
"admin_api": "is_admin:True"
"system_admin_api": "role:admin and system_scope:all"
"system_reader_api": "role:reader and system_scope:all"
"project_admin_api": "role:admin and project_id:%(project_id)s"
"project_member_api": "role:member and project_id:%(project_id)s"
"project_reader_api": "role:reader and project_id:%(project_id)s"
"system_admin_or_owner": "rule:system_admin_api or rule:project_member_api"
"system_or_project_reader": "rule:system_reader_api or rule:project_reader_api"
"os_compute_api:os-admin-actions:reset_state": "rule:system_admin_api"
"os_compute_api:os-admin-actions:inject_network_info": "rule:system_admin_api"
"os_compute_api:os-admin-password": "rule:system_admin_or_owner"
"os_compute_api:os-aggregates:set_metadata": "rule:system_admin_api"
"os_compute_api:os-aggregates:add_host": "rule:system_admin_api"
"os_compute_api:os-aggregates:create": "rule:system_admin_api"
"os_compute_api:os-aggregates:remove_host": "rule:system_admin_api"
"os_compute_api:os-aggregates:update": "rule:system_admin_api"
"os_compute_api:os-aggregates:index": "rule:system_reader_api"
"os_compute_api:os-aggregates:delete": "rule:system_admin_api"
"os_compute_api:os-aggregates:show": "rule:system_reader_api"
"compute:aggregates:images": "rule:system_admin_api"
"os_compute_api:os-assisted-volume-snapshots:create": "rule:system_admin_api"
"os_compute_api:os-assisted-volume-snapshots:delete": "rule:system_admin_api"
"os_compute_api:os-attach-interfaces:list": "rule:system_or_project_reader"
"os_compute_api:os-attach-interfaces:show": "rule:system_or_project_reader"
"os_compute_api:os-attach-interfaces:create": "rule:system_admin_or_owner"
"os_compute_api:os-attach-interfaces:delete": "rule:system_admin_or_owner"
"os_compute_api:os-availability-zone:list": "@"
"os_compute_api:os-availability-zone:detail": "rule:system_reader_api"
"os_compute_api:os-baremetal-nodes:list": "rule:system_reader_api"
"os_compute_api:os-baremetal-nodes:show": "rule:system_reader_api"
"os_compute_api:os-console-auth-tokens": "rule:system_reader_api"
"os_compute_api:os-console-output": "rule:system_admin_or_owner"
"os_compute_api:os-create-backup": "rule:system_admin_or_owner"
"os_compute_api:os-deferred-delete:restore": "rule:system_admin_or_owner"
"os_compute_api:os-deferred-delete:force": "rule:system_admin_or_owner"
"os_compute_api:os-evacuate": "rule:system_admin_api"
"os_compute_api:os-extended-server-attributes": "rule:system_admin_api"
"os_compute_api:extensions": "@"
"os_compute_api:os-flavor-access:add_tenant_access": "rule:system_admin_api"
"os_compute_api:os-flavor-access:remove_tenant_access": "rule:system_admin_api"
"os_compute_api:os-flavor-access": "rule:system_reader_api"
"os_compute_api:os-flavor-extra-specs:show": "rule:system_or_project_reader"
"os_compute_api:os-flavor-extra-specs:create": "rule:system_admin_api"
"os_compute_api:os-flavor-extra-specs:update": "rule:system_admin_api"
"os_compute_api:os-flavor-extra-specs:delete": "rule:system_admin_api"
"os_compute_api:os-flavor-extra-specs:index": "rule:system_or_project_reader"
"os_compute_api:os-flavor-manage:create": "rule:system_admin_api"
"os_compute_api:os-flavor-manage:update": "rule:system_admin_api"
"os_compute_api:os-flavor-manage:delete": "rule:system_admin_api"
"os_compute_api:os-floating-ip-pools": "@"
"os_compute_api:os-floating-ips:add": "rule:system_admin_or_owner"
"os_compute_api:os-floating-ips:remove": "rule:system_admin_or_owner"
"os_compute_api:os-floating-ips:list": "rule:system_or_project_reader"
"os_compute_api:os-floating-ips:create": "rule:system_admin_or_owner"
"os_compute_api:os-floating-ips:show": "rule:system_or_project_reader"
"os_compute_api:os-floating-ips:delete": "rule:system_admin_or_owner"
"os_compute_api:os-hosts:list": "rule:system_reader_api"
"os_compute_api:os-hosts:show": "rule:system_reader_api"
"os_compute_api:os-hosts:update": "rule:system_admin_api"
"os_compute_api:os-hosts:reboot": "rule:system_admin_api"
"os_compute_api:os-hosts:shutdown": "rule:system_admin_api"
"os_compute_api:os-hosts:start": "rule:system_admin_api"
"os_compute_api:os-hypervisors:list": "rule:system_reader_api"
"os_compute_api:os-hypervisors:list-detail": "rule:system_reader_api"
"os_compute_api:os-hypervisors:statistics": "rule:system_reader_api"
"os_compute_api:os-hypervisors:show": "rule:system_reader_api"
"os_compute_api:os-hypervisors:uptime": "rule:system_reader_api"
"os_compute_api:os-hypervisors:search": "rule:system_reader_api"
"os_compute_api:os-hypervisors:servers": "rule:system_reader_api"
"os_compute_api:os-instance-actions:events:details": "rule:system_reader_api"
"os_compute_api:os-instance-actions:events": "rule:system_reader_api"
"os_compute_api:os-instance-actions:list": "rule:system_or_project_reader"
"os_compute_api:os-instance-actions:show": "rule:system_or_project_reader"
"os_compute_api:os-instance-usage-audit-log:list": "rule:system_reader_api"
"os_compute_api:os-instance-usage-audit-log:show": "rule:system_reader_api"
"os_compute_api:ips:show": "rule:system_or_project_reader"
"os_compute_api:ips:index": "rule:system_or_project_reader"
"os_compute_api:os-keypairs:index": "(rule:system_reader_api) or user_id:%(user_id)s"
"os_compute_api:os-keypairs:create": "(rule:system_admin_api) or user_id:%(user_id)s"
"os_compute_api:os-keypairs:delete": "(rule:system_admin_api) or user_id:%(user_id)s"
"os_compute_api:os-keypairs:show": "(rule:system_reader_api) or user_id:%(user_id)s"
"os_compute_api:limits": "@"
"os_compute_api:limits:other_project": "rule:system_reader_api"
"os_compute_api:os-lock-server:lock": "rule:system_admin_or_owner"
"os_compute_api:os-lock-server:unlock": "rule:system_admin_or_owner"
"os_compute_api:os-lock-server:unlock:unlock_override": "rule:system_admin_api"
"os_compute_api:os-migrate-server:migrate": "rule:system_admin_api"
"os_compute_api:os-migrate-server:migrate_live": "rule:system_admin_api"
"os_compute_api:os-migrations:index": "rule:system_reader_api"
"os_compute_api:os-multinic:add": "rule:system_admin_or_owner"
"os_compute_api:os-multinic:remove": "rule:system_admin_or_owner"
"os_compute_api:os-networks:list": "rule:system_or_project_reader"
"os_compute_api:os-networks:show": "rule:system_or_project_reader"
"os_compute_api:os-pause-server:pause": "rule:system_admin_or_owner"
"os_compute_api:os-pause-server:unpause": "rule:system_admin_or_owner"
"os_compute_api:os-quota-class-sets:show": "rule:system_reader_api"
"os_compute_api:os-quota-class-sets:update": "rule:system_admin_api"
"os_compute_api:os-quota-sets:update": "rule:system_admin_api"
"os_compute_api:os-quota-sets:defaults": "@"
"os_compute_api:os-quota-sets:show": "rule:system_or_project_reader"
"os_compute_api:os-quota-sets:delete": "rule:system_admin_api"
"os_compute_api:os-quota-sets:detail": "rule:system_or_project_reader"
"os_compute_api:os-remote-consoles": "rule:system_admin_or_owner"
"os_compute_api:os-rescue": "rule:system_admin_or_owner"
"os_compute_api:os-unrescue": "rule:system_admin_or_owner"
"os_compute_api:os-security-groups:get": "rule:system_or_project_reader"
"os_compute_api:os-security-groups:show": "rule:system_or_project_reader"
"os_compute_api:os-security-groups:create": "rule:system_admin_or_owner"
"os_compute_api:os-security-groups:update": "rule:system_admin_or_owner"
"os_compute_api:os-security-groups:delete": "rule:system_admin_or_owner"
"os_compute_api:os-security-groups:rule:create": "rule:system_admin_or_owner"
"os_compute_api:os-security-groups:rule:delete": "rule:system_admin_or_owner"
"os_compute_api:os-security-groups:list": "rule:system_or_project_reader"
"os_compute_api:os-security-groups:add": "rule:system_admin_or_owner"
"os_compute_api:os-security-groups:remove": "rule:system_admin_or_owner"
"os_compute_api:os-server-diagnostics": "rule:system_admin_api"
"os_compute_api:os-server-external-events:create": "rule:system_admin_api"
"os_compute_api:os-server-groups:create": "rule:project_member_api"
"os_compute_api:os-server-groups:delete": "rule:system_admin_or_owner"
"os_compute_api:os-server-groups:index": "rule:system_or_project_reader"
"os_compute_api:os-server-groups:index:all_projects": "rule:system_reader_api"
"os_compute_api:os-server-groups:show": "rule:system_or_project_reader"
"os_compute_api:server-metadata:index": "rule:system_or_project_reader"
"os_compute_api:server-metadata:show": "rule:system_or_project_reader"
"os_compute_api:server-metadata:create": "rule:system_admin_or_owner"
"os_compute_api:server-metadata:update_all": "rule:system_admin_or_owner"
"os_compute_api:server-metadata:update": "rule:system_admin_or_owner"
"os_compute_api:server-metadata:delete": "rule:system_admin_or_owner"
"os_compute_api:os-server-password:show": "rule:system_or_project_reader"
"os_compute_api:os-server-password:clear": "rule:system_admin_or_owner"
"os_compute_api:os-server-tags:delete_all": "rule:system_admin_or_owner"
"os_compute_api:os-server-tags:index": "rule:system_or_project_reader"
"os_compute_api:os-server-tags:update_all": "rule:system_admin_or_owner"
"os_compute_api:os-server-tags:delete": "rule:system_admin_or_owner"
"os_compute_api:os-server-tags:update": "rule:system_admin_or_owner"
"os_compute_api:os-server-tags:show": "rule:system_or_project_reader"
"compute:server:topology:index": "rule:system_or_project_reader"
"compute:server:topology:host:index": "rule:system_reader_api"
"os_compute_api:servers:index": "rule:system_or_project_reader"
"os_compute_api:servers:detail": "rule:system_or_project_reader"
"os_compute_api:servers:index:get_all_tenants": "rule:system_reader_api"
"os_compute_api:servers:detail:get_all_tenants": "rule:system_reader_api"
"os_compute_api:servers:allow_all_filters": "rule:system_reader_api"
"os_compute_api:servers:show": "rule:system_or_project_reader"
"os_compute_api:servers:show:host_status": "rule:system_admin_api"
"os_compute_api:servers:show:host_status:unknown-only": "rule:system_admin_api"
"os_compute_api:servers:create": "rule:project_member_api"
"os_compute_api:servers:create:forced_host": "rule:project_admin_api"
"compute:servers:create:requested_destination": "rule:project_admin_api"
"os_compute_api:servers:create:attach_volume": "rule:project_member_api"
"os_compute_api:servers:create:attach_network": "rule:project_member_api"
"os_compute_api:servers:create:trusted_certs": "rule:project_member_api"
"os_compute_api:servers:create:zero_disk_flavor": "rule:project_admin_api"
"network:attach_external_network": "rule:project_admin_api"
"os_compute_api:servers:delete": "rule:system_admin_or_owner"
"os_compute_api:servers:update": "rule:system_admin_or_owner"
"os_compute_api:servers:confirm_resize": "rule:system_admin_or_owner"
"os_compute_api:servers:revert_resize": "rule:system_admin_or_owner"
"os_compute_api:servers:reboot": "rule:system_admin_or_owner"
"os_compute_api:servers:resize": "rule:system_admin_or_owner"
"compute:servers:resize:cross_cell": "!"
"os_compute_api:servers:rebuild": "rule:system_admin_or_owner"
"os_compute_api:servers:rebuild:trusted_certs": "rule:system_admin_or_owner"
"os_compute_api:servers:create_image": "rule:system_admin_or_owner"
"os_compute_api:servers:create_image:allow_volume_backed": "rule:system_admin_or_owner"
"os_compute_api:servers:start": "rule:system_admin_or_owner"
"os_compute_api:servers:stop": "rule:system_admin_or_owner"
"os_compute_api:servers:trigger_crash_dump": "rule:system_admin_or_owner"
"os_compute_api:servers:migrations:show": "rule:system_reader_api"
"os_compute_api:servers:migrations:force_complete": "rule:system_admin_api"
"os_compute_api:servers:migrations:delete": "rule:system_admin_api"
"os_compute_api:servers:migrations:index": "rule:system_reader_api"
"os_compute_api:os-services:list": "rule:system_reader_api"
"os_compute_api:os-services:update": "rule:system_admin_api"
"os_compute_api:os-services:delete": "rule:system_admin_api"
"os_compute_api:os-shelve:shelve": "rule:system_admin_or_owner"
"os_compute_api:os-shelve:unshelve": "rule:system_admin_or_owner"
"os_compute_api:os-shelve:shelve_offload": "rule:system_admin_api"
"os_compute_api:os-simple-tenant-usage:show": "rule:system_or_project_reader"
"os_compute_api:os-simple-tenant-usage:list": "rule:system_reader_api"
"os_compute_api:os-suspend-server:resume": "rule:system_admin_or_owner"
"os_compute_api:os-suspend-server:suspend": "rule:system_admin_or_owner"
"os_compute_api:os-tenant-networks:list": "rule:system_or_project_reader"
"os_compute_api:os-tenant-networks:show": "rule:system_or_project_reader"
"os_compute_api:os-volumes:list": "rule:system_or_project_reader"
"os_compute_api:os-volumes:create": "rule:system_admin_or_owner"
"os_compute_api:os-volumes:detail": "rule:system_or_project_reader"
"os_compute_api:os-volumes:show": "rule:system_or_project_reader"
"os_compute_api:os-volumes:delete": "rule:system_admin_or_owner"
"os_compute_api:os-volumes:snapshots:list": "rule:system_or_project_reader"
"os_compute_api:os-volumes:snapshots:create": "rule:system_admin_or_owner"
"os_compute_api:os-volumes:snapshots:detail": "rule:system_or_project_reader"
"os_compute_api:os-volumes:snapshots:show": "rule:system_or_project_reader"
"os_compute_api:os-volumes:snapshots:delete": "rule:system_admin_or_owner"
"os_compute_api:os-volumes-attachments:index": "rule:system_or_project_reader"
"os_compute_api:os-volumes-attachments:create": "rule:system_admin_or_owner"
"os_compute_api:os-volumes-attachments:show": "rule:system_or_project_reader"
"os_compute_api:os-volumes-attachments:update": "rule:system_admin_or_owner"
"os_compute_api:os-volumes-attachments:swap": "rule:system_admin_api"
"os_compute_api:os-volumes-attachments:delete": "rule:system_admin_or_owner"