Skip to content

Commit 6be67fc

Browse files
committed
reset input.json
1 parent a5c2fd5 commit 6be67fc

File tree

1 file changed

+29
-100
lines changed

1 file changed

+29
-100
lines changed

coderd/rbac/input.json

Lines changed: 29 additions & 100 deletions
Original file line numberDiff line numberDiff line change
@@ -1,117 +1,46 @@
11
{
2-
"action": "delete",
2+
"action": "never-match-action",
33
"object": {
4-
"id": "bf9bba2a-dd6b-4a07-8500-1dac6ddc5171",
5-
"owner": "36e3c780-2ae3-443b-ad3c-ceb410a55d12",
6-
"org_owner": "19285bb2-022d-41c6-a7f2-8ace10825691",
7-
"type": "workspace_dormant",
8-
"acl_user_list": null,
9-
"acl_group_list": null
4+
"id": "9046b041-58ed-47a3-9c3a-de302577875a",
5+
"owner": "00000000-0000-0000-0000-000000000000",
6+
"org_owner": "bf7b72bd-a2b1-4ef2-962c-1d698e0483f6",
7+
"type": "workspace",
8+
"acl_user_list": {
9+
"f041847d-711b-40da-a89a-ede39f70dc7f": ["create"]
10+
},
11+
"acl_group_list": {}
1012
},
1113
"subject": {
12-
"FriendlyName": "Provisioner Daemon",
13-
"ID": "00000000-0000-0000-0000-000000000000",
14-
"Roles": [
14+
"id": "10d03e62-7703-4df5-a358-4f76577d4e2f",
15+
"roles": [
1516
{
16-
"name": "provisionerd",
17-
"display_name": "Provisioner Daemon",
17+
"name": "owner",
18+
"display_name": "Owner",
1819
"site": [
1920
{
2021
"negate": false,
21-
"resource_type": "api_key",
22+
"resource_type": "*",
2223
"action": "*"
23-
},
24-
{
25-
"negate": false,
26-
"resource_type": "file",
27-
"action": "read"
28-
},
29-
{
30-
"negate": false,
31-
"resource_type": "group",
32-
"action": "read"
33-
},
34-
{
35-
"negate": false,
36-
"resource_type": "organization",
37-
"action": "read"
38-
},
39-
{
40-
"negate": false,
41-
"resource_type": "system",
42-
"action": "*"
43-
},
44-
{
45-
"negate": false,
46-
"resource_type": "template",
47-
"action": "read"
48-
},
49-
{
50-
"negate": false,
51-
"resource_type": "template",
52-
"action": "update"
53-
},
54-
{
55-
"negate": false,
56-
"resource_type": "user",
57-
"action": "read_personal"
58-
},
59-
{
60-
"negate": false,
61-
"resource_type": "user",
62-
"action": "update_personal"
63-
},
64-
{
65-
"negate": false,
66-
"resource_type": "user",
67-
"action": "read"
68-
},
69-
{
70-
"negate": false,
71-
"resource_type": "workspace",
72-
"action": "read"
73-
},
74-
{
75-
"negate": false,
76-
"resource_type": "workspace",
77-
"action": "stop"
78-
},
79-
{
80-
"negate": false,
81-
"resource_type": "workspace",
82-
"action": "start"
83-
},
84-
{
85-
"negate": false,
86-
"resource_type": "workspace",
87-
"action": "update"
88-
},
89-
{
90-
"negate": false,
91-
"resource_type": "workspace",
92-
"action": "delete"
93-
},
94-
{
95-
"negate": false,
96-
"resource_type": "workspace_dormant",
97-
"action": "read"
98-
},
99-
{
100-
"negate": false,
101-
"resource_type": "workspace_dormant",
102-
"action": "update"
103-
},
104-
{
105-
"negate": false,
106-
"resource_type": "workspace_dormant",
107-
"action": "stop"
10824
}
10925
],
11026
"org": {},
11127
"user": []
11228
}
11329
],
114-
"Groups": null,
115-
"Scope": "all"
30+
"groups": ["b617a647-b5d0-4cbe-9e40-26f89710bf18"],
31+
"scope": {
32+
"name": "Scope_all",
33+
"display_name": "All operations",
34+
"site": [
35+
{
36+
"negate": false,
37+
"resource_type": "*",
38+
"action": "*"
39+
}
40+
],
41+
"org": {},
42+
"user": [],
43+
"allow_list": ["*"]
44+
}
11645
}
11746
}

0 commit comments

Comments
 (0)