-
Notifications
You must be signed in to change notification settings - Fork 0
/
policy.json
55 lines (46 loc) · 2.47 KB
/
policy.json
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
{
"cloud_admin": "project_domain_name:ccadmin and project_name:cloud_admin",
"project_scope": "project_id:%(project_id)s",
"member": "role:member and rule:project_scope",
"viewer": "role:gtm_viewer and rule:project_scope",
"admin": "role:gtm_admin and rule:project_scope",
"context_is_admin": "rule:cloud_admin or rule:admin",
"context_is_editor": "rule:context_is_admin or rule:member",
"context_is_viewer": "rule:context_is_editor or rule:viewer",
"andromeda:domain:get_all": "rule:context_is_viewer",
"andromeda:domain:post": "rule:context_is_editor",
"andromeda:domain:put": "rule:context_is_editor",
"andromeda:domain:get_one": "rule:context_is_viewer",
"andromeda:domain:delete": "rule:context_is_editor",
"andromeda:pool:get_all": "rule:context_is_viewer",
"andromeda:pool:post": "rule:context_is_editor",
"andromeda:pool:put": "rule:context_is_editor",
"andromeda:pool:get_one": "rule:context_is_viewer",
"andromeda:pool:delete": "rule:context_is_editor",
"andromeda:member:get_all": "rule:context_is_viewer",
"andromeda:member:post": "rule:context_is_editor",
"andromeda:member:put": "rule:context_is_editor",
"andromeda:member:get_one": "rule:context_is_viewer",
"andromeda:member:delete": "rule:context_is_editor",
"andromeda:monitor:get_all": "rule:context_is_viewer",
"andromeda:monitor:post": "rule:context_is_editor",
"andromeda:monitor:put": "rule:context_is_editor",
"andromeda:monitor:get_one": "rule:context_is_viewer",
"andromeda:monitor:delete": "rule:context_is_editor",
"andromeda:datacenter:get_all": "rule:context_is_viewer or 'public':%(scope)s",
"andromeda:datacenter:post": "rule:context_is_editor",
"andromeda:datacenter:put": "rule:context_is_editor",
"andromeda:datacenter:get_one": "rule:context_is_viewer or 'public':%(scope)s",
"andromeda:datacenter:delete": "rule:context_is_editor",
"andromeda:geomap:get_all": "rule:context_is_viewer or 'shared':%(scope)s",
"andromeda:geomap:post": "rule:context_is_editor",
"andromeda:geomap:put": "rule:context_is_editor",
"andromeda:geomap:get_one": "rule:context_is_viewer or 'shared':%(scope)s",
"andromeda:geomap:delete": "rule:context_is_editor",
"andromeda:service:get_all": "rule:context_is_admin",
"andromeda:sync:post": "rule:context_is_admin",
"andromeda:quota:get_all": "rule:context_is_viewer",
"andromeda:quota:get_one": "rule:context_is_viewer",
"andromeda:quota:put": "rule:context_is_admin",
"andromeda:quota:delete": "rule:context_is_admin"
}