-
Notifications
You must be signed in to change notification settings - Fork 0
/
policy-nova-stable-2023.2.yaml
202 lines (202 loc) · 13.6 KB
/
policy-nova-stable-2023.2.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"
"project_member_api": "role:member and project_id:%(project_id)s"
"project_reader_api": "role:reader and project_id:%(project_id)s"
"project_member_or_admin": "rule:project_member_api or rule:context_is_admin"
"project_reader_or_admin": "rule:project_reader_api or rule:context_is_admin"
"os_compute_api:os-admin-actions:reset_state": "rule:context_is_admin"
"os_compute_api:os-admin-actions:inject_network_info": "rule:context_is_admin"
"os_compute_api:os-admin-password": "rule:project_member_or_admin"
"os_compute_api:os-aggregates:set_metadata": "rule:context_is_admin"
"os_compute_api:os-aggregates:add_host": "rule:context_is_admin"
"os_compute_api:os-aggregates:create": "rule:context_is_admin"
"os_compute_api:os-aggregates:remove_host": "rule:context_is_admin"
"os_compute_api:os-aggregates:update": "rule:context_is_admin"
"os_compute_api:os-aggregates:index": "rule:context_is_admin"
"os_compute_api:os-aggregates:delete": "rule:context_is_admin"
"os_compute_api:os-aggregates:show": "rule:context_is_admin"
"compute:aggregates:images": "rule:context_is_admin"
"os_compute_api:os-assisted-volume-snapshots:create": "rule:context_is_admin"
"os_compute_api:os-assisted-volume-snapshots:delete": "rule:context_is_admin"
"os_compute_api:os-attach-interfaces:list": "rule:project_reader_or_admin"
"os_compute_api:os-attach-interfaces:show": "rule:project_reader_or_admin"
"os_compute_api:os-attach-interfaces:create": "rule:project_member_or_admin"
"os_compute_api:os-attach-interfaces:delete": "rule:project_member_or_admin"
"os_compute_api:os-availability-zone:list": "@"
"os_compute_api:os-availability-zone:detail": "rule:context_is_admin"
"os_compute_api:os-baremetal-nodes:list": "rule:context_is_admin"
"os_compute_api:os-baremetal-nodes:show": "rule:context_is_admin"
"os_compute_api:os-console-auth-tokens": "rule:context_is_admin"
"os_compute_api:os-console-output": "rule:project_member_or_admin"
"os_compute_api:os-create-backup": "rule:project_member_or_admin"
"os_compute_api:os-deferred-delete:restore": "rule:project_member_or_admin"
"os_compute_api:os-deferred-delete:force": "rule:project_member_or_admin"
"os_compute_api:os-evacuate": "rule:context_is_admin"
"os_compute_api:os-extended-server-attributes": "rule:context_is_admin"
"os_compute_api:extensions": "@"
"os_compute_api:os-flavor-access:add_tenant_access": "rule:context_is_admin"
"os_compute_api:os-flavor-access:remove_tenant_access": "rule:context_is_admin"
"os_compute_api:os-flavor-access": "rule:context_is_admin"
"os_compute_api:os-flavor-extra-specs:show": "rule:project_reader_or_admin"
"os_compute_api:os-flavor-extra-specs:create": "rule:context_is_admin"
"os_compute_api:os-flavor-extra-specs:update": "rule:context_is_admin"
"os_compute_api:os-flavor-extra-specs:delete": "rule:context_is_admin"
"os_compute_api:os-flavor-extra-specs:index": "rule:project_reader_or_admin"
"os_compute_api:os-flavor-manage:create": "rule:context_is_admin"
"os_compute_api:os-flavor-manage:update": "rule:context_is_admin"
"os_compute_api:os-flavor-manage:delete": "rule:context_is_admin"
"os_compute_api:os-floating-ip-pools": "@"
"os_compute_api:os-floating-ips:add": "rule:project_member_or_admin"
"os_compute_api:os-floating-ips:remove": "rule:project_member_or_admin"
"os_compute_api:os-floating-ips:list": "rule:project_reader_or_admin"
"os_compute_api:os-floating-ips:create": "rule:project_member_or_admin"
"os_compute_api:os-floating-ips:show": "rule:project_reader_or_admin"
"os_compute_api:os-floating-ips:delete": "rule:project_member_or_admin"
"os_compute_api:os-hosts:list": "rule:context_is_admin"
"os_compute_api:os-hosts:show": "rule:context_is_admin"
"os_compute_api:os-hosts:update": "rule:context_is_admin"
"os_compute_api:os-hosts:reboot": "rule:context_is_admin"
"os_compute_api:os-hosts:shutdown": "rule:context_is_admin"
"os_compute_api:os-hosts:start": "rule:context_is_admin"
"os_compute_api:os-hypervisors:list": "rule:context_is_admin"
"os_compute_api:os-hypervisors:list-detail": "rule:context_is_admin"
"os_compute_api:os-hypervisors:statistics": "rule:context_is_admin"
"os_compute_api:os-hypervisors:show": "rule:context_is_admin"
"os_compute_api:os-hypervisors:uptime": "rule:context_is_admin"
"os_compute_api:os-hypervisors:search": "rule:context_is_admin"
"os_compute_api:os-hypervisors:servers": "rule:context_is_admin"
"os_compute_api:os-instance-actions:events:details": "rule:context_is_admin"
"os_compute_api:os-instance-actions:events": "rule:context_is_admin"
"os_compute_api:os-instance-actions:list": "rule:project_reader_or_admin"
"os_compute_api:os-instance-actions:show": "rule:project_reader_or_admin"
"os_compute_api:os-instance-usage-audit-log:list": "rule:context_is_admin"
"os_compute_api:os-instance-usage-audit-log:show": "rule:context_is_admin"
"os_compute_api:ips:show": "rule:project_reader_or_admin"
"os_compute_api:ips:index": "rule:project_reader_or_admin"
"os_compute_api:os-keypairs:index": "(rule:context_is_admin) or user_id:%(user_id)s"
"os_compute_api:os-keypairs:create": "(rule:context_is_admin) or user_id:%(user_id)s"
"os_compute_api:os-keypairs:delete": "(rule:context_is_admin) or user_id:%(user_id)s"
"os_compute_api:os-keypairs:show": "(rule:context_is_admin) or user_id:%(user_id)s"
"os_compute_api:limits": "@"
"os_compute_api:limits:other_project": "rule:context_is_admin"
"os_compute_api:os-lock-server:lock": "rule:project_member_or_admin"
"os_compute_api:os-lock-server:unlock": "rule:project_member_or_admin"
"os_compute_api:os-lock-server:unlock:unlock_override": "rule:context_is_admin"
"os_compute_api:os-migrate-server:migrate": "rule:context_is_admin"
"os_compute_api:os-migrate-server:migrate:host": "rule:context_is_admin"
"os_compute_api:os-migrate-server:migrate_live": "rule:context_is_admin"
"os_compute_api:os-migrations:index": "rule:context_is_admin"
"os_compute_api:os-multinic:add": "rule:project_member_or_admin"
"os_compute_api:os-multinic:remove": "rule:project_member_or_admin"
"os_compute_api:os-networks:list": "rule:project_reader_or_admin"
"os_compute_api:os-networks:show": "rule:project_reader_or_admin"
"os_compute_api:os-pause-server:pause": "rule:project_member_or_admin"
"os_compute_api:os-pause-server:unpause": "rule:project_member_or_admin"
"os_compute_api:os-quota-class-sets:show": "rule:context_is_admin"
"os_compute_api:os-quota-class-sets:update": "rule:context_is_admin"
"os_compute_api:os-quota-sets:update": "rule:context_is_admin"
"os_compute_api:os-quota-sets:defaults": "@"
"os_compute_api:os-quota-sets:show": "rule:project_reader_or_admin"
"os_compute_api:os-quota-sets:delete": "rule:context_is_admin"
"os_compute_api:os-quota-sets:detail": "rule:project_reader_or_admin"
"os_compute_api:os-remote-consoles": "rule:project_member_or_admin"
"os_compute_api:os-rescue": "rule:project_member_or_admin"
"os_compute_api:os-unrescue": "rule:project_member_or_admin"
"os_compute_api:os-security-groups:get": "rule:project_reader_or_admin"
"os_compute_api:os-security-groups:show": "rule:project_reader_or_admin"
"os_compute_api:os-security-groups:create": "rule:project_member_or_admin"
"os_compute_api:os-security-groups:update": "rule:project_member_or_admin"
"os_compute_api:os-security-groups:delete": "rule:project_member_or_admin"
"os_compute_api:os-security-groups:rule:create": "rule:project_member_or_admin"
"os_compute_api:os-security-groups:rule:delete": "rule:project_member_or_admin"
"os_compute_api:os-security-groups:list": "rule:project_reader_or_admin"
"os_compute_api:os-security-groups:add": "rule:project_member_or_admin"
"os_compute_api:os-security-groups:remove": "rule:project_member_or_admin"
"os_compute_api:os-server-diagnostics": "rule:context_is_admin"
"os_compute_api:os-server-external-events:create": "rule:context_is_admin"
"os_compute_api:os-server-groups:create": "rule:project_member_or_admin"
"os_compute_api:os-server-groups:delete": "rule:project_member_or_admin"
"os_compute_api:os-server-groups:index": "rule:project_reader_or_admin"
"os_compute_api:os-server-groups:index:all_projects": "rule:context_is_admin"
"os_compute_api:os-server-groups:show": "rule:project_reader_or_admin"
"os_compute_api:server-metadata:index": "rule:project_reader_or_admin"
"os_compute_api:server-metadata:show": "rule:project_reader_or_admin"
"os_compute_api:server-metadata:create": "rule:project_member_or_admin"
"os_compute_api:server-metadata:update_all": "rule:project_member_or_admin"
"os_compute_api:server-metadata:update": "rule:project_member_or_admin"
"os_compute_api:server-metadata:delete": "rule:project_member_or_admin"
"os_compute_api:os-server-password:show": "rule:project_reader_or_admin"
"os_compute_api:os-server-password:clear": "rule:project_member_or_admin"
"os_compute_api:os-server-tags:delete_all": "rule:project_member_or_admin"
"os_compute_api:os-server-tags:index": "rule:project_reader_or_admin"
"os_compute_api:os-server-tags:update_all": "rule:project_member_or_admin"
"os_compute_api:os-server-tags:delete": "rule:project_member_or_admin"
"os_compute_api:os-server-tags:update": "rule:project_member_or_admin"
"os_compute_api:os-server-tags:show": "rule:project_reader_or_admin"
"compute:server:topology:index": "rule:project_reader_or_admin"
"compute:server:topology:host:index": "rule:context_is_admin"
"os_compute_api:servers:index": "rule:project_reader_or_admin"
"os_compute_api:servers:detail": "rule:project_reader_or_admin"
"os_compute_api:servers:index:get_all_tenants": "rule:context_is_admin"
"os_compute_api:servers:detail:get_all_tenants": "rule:context_is_admin"
"os_compute_api:servers:allow_all_filters": "rule:context_is_admin"
"os_compute_api:servers:show": "rule:project_reader_or_admin"
"os_compute_api:servers:show:flavor-extra-specs": "rule:project_reader_or_admin"
"os_compute_api:servers:show:host_status": "rule:context_is_admin"
"os_compute_api:servers:show:host_status:unknown-only": "rule:context_is_admin"
"os_compute_api:servers:create": "rule:project_member_or_admin"
"os_compute_api:servers:create:forced_host": "rule:context_is_admin"
"compute:servers:create:requested_destination": "rule:context_is_admin"
"os_compute_api:servers:create:attach_volume": "rule:project_member_or_admin"
"os_compute_api:servers:create:attach_network": "rule:project_member_or_admin"
"os_compute_api:servers:create:trusted_certs": "rule:project_member_or_admin"
"os_compute_api:servers:create:zero_disk_flavor": "rule:context_is_admin"
"network:attach_external_network": "rule:context_is_admin"
"os_compute_api:servers:delete": "rule:project_member_or_admin"
"os_compute_api:servers:update": "rule:project_member_or_admin"
"os_compute_api:servers:confirm_resize": "rule:project_member_or_admin"
"os_compute_api:servers:revert_resize": "rule:project_member_or_admin"
"os_compute_api:servers:reboot": "rule:project_member_or_admin"
"os_compute_api:servers:resize": "rule:project_member_or_admin"
"compute:servers:resize:cross_cell": "!"
"os_compute_api:servers:rebuild": "rule:project_member_or_admin"
"os_compute_api:servers:rebuild:trusted_certs": "rule:project_member_or_admin"
"os_compute_api:servers:create_image": "rule:project_member_or_admin"
"os_compute_api:servers:create_image:allow_volume_backed": "rule:project_member_or_admin"
"os_compute_api:servers:start": "rule:project_member_or_admin"
"os_compute_api:servers:stop": "rule:project_member_or_admin"
"os_compute_api:servers:trigger_crash_dump": "rule:project_member_or_admin"
"os_compute_api:servers:migrations:show": "rule:context_is_admin"
"os_compute_api:servers:migrations:force_complete": "rule:context_is_admin"
"os_compute_api:servers:migrations:delete": "rule:context_is_admin"
"os_compute_api:servers:migrations:index": "rule:context_is_admin"
"os_compute_api:os-services:list": "rule:context_is_admin"
"os_compute_api:os-services:update": "rule:context_is_admin"
"os_compute_api:os-services:delete": "rule:context_is_admin"
"os_compute_api:os-shelve:shelve": "rule:project_member_or_admin"
"os_compute_api:os-shelve:unshelve": "rule:project_member_or_admin"
"os_compute_api:os-shelve:unshelve_to_host": "rule:context_is_admin"
"os_compute_api:os-shelve:shelve_offload": "rule:context_is_admin"
"os_compute_api:os-simple-tenant-usage:show": "rule:project_reader_or_admin"
"os_compute_api:os-simple-tenant-usage:list": "rule:context_is_admin"
"os_compute_api:os-suspend-server:resume": "rule:project_member_or_admin"
"os_compute_api:os-suspend-server:suspend": "rule:project_member_or_admin"
"os_compute_api:os-tenant-networks:list": "rule:project_reader_or_admin"
"os_compute_api:os-tenant-networks:show": "rule:project_reader_or_admin"
"os_compute_api:os-volumes:list": "rule:project_reader_or_admin"
"os_compute_api:os-volumes:create": "rule:project_member_or_admin"
"os_compute_api:os-volumes:detail": "rule:project_reader_or_admin"
"os_compute_api:os-volumes:show": "rule:project_reader_or_admin"
"os_compute_api:os-volumes:delete": "rule:project_member_or_admin"
"os_compute_api:os-volumes:snapshots:list": "rule:project_reader_or_admin"
"os_compute_api:os-volumes:snapshots:create": "rule:project_member_or_admin"
"os_compute_api:os-volumes:snapshots:detail": "rule:project_reader_or_admin"
"os_compute_api:os-volumes:snapshots:show": "rule:project_reader_or_admin"
"os_compute_api:os-volumes:snapshots:delete": "rule:project_member_or_admin"
"os_compute_api:os-volumes-attachments:index": "rule:project_reader_or_admin"
"os_compute_api:os-volumes-attachments:create": "rule:project_member_or_admin"
"os_compute_api:os-volumes-attachments:show": "rule:project_reader_or_admin"
"os_compute_api:os-volumes-attachments:update": "rule:project_member_or_admin"
"os_compute_api:os-volumes-attachments:swap": "rule:context_is_admin"
"os_compute_api:os-volumes-attachments:delete": "rule:project_member_or_admin"