Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update input.json with scope allow_list
  • Loading branch information
Emyrk committed Jan 19, 2023
commit e0e6312be841e65ffad69acba43269a14ca1b8b6
72 changes: 18 additions & 54 deletions coderd/rbac/input.json
Original file line number Diff line number Diff line change
@@ -1,68 +1,32 @@
{
"action": "read",
"action": "never-match-action",
"object": {
"id": "9046b041-58ed-47a3-9c3a-de302577875a",
"owner": "me",
"org_owner": "1fef0c81-8f3c-4ee8-9667-94351578ed7f",
"owner": "00000000-0000-0000-0000-000000000000",
"org_owner": "bf7b72bd-a2b1-4ef2-962c-1d698e0483f6",
"type": "workspace",
"acl_user_list": null,
"acl_group_list": null
"acl_user_list": {
"f041847d-711b-40da-a89a-ede39f70dc7f": ["create"]
},
"acl_group_list": {}
},
"subject": {
"id": "me",
"roles": [
{
"name": "member",
"display_name": "",
"site": [
{ "negate": false, "resource_type": "user", "action": "read" },
{ "negate": false, "resource_type": "assign_role", "action": "read" },
{
"negate": false,
"resource_type": "provisioner_daemon",
"action": "read"
}
],
"org": null,
"user": [{ "negate": false, "resource_type": "*", "action": "*" }]
},
{
"name": "organization-member:1fef0c81-8f3c-4ee8-9667-94351578ed7f",
"display_name": "",
"site": null,
"org": {
"1fef0c81-8f3c-4ee8-9667-94351578ed7f": [
{
"negate": false,
"resource_type": "organization_member",
"action": "read"
},
{
"negate": false,
"resource_type": "organization",
"action": "read"
},
{
"negate": false,
"resource_type": "assign_org_role",
"action": "read"
},
{ "negate": false, "resource_type": "group", "action": "read" }
]
},
"user": null
}
],
"groups": null,
"id": "10d03e62-7703-4df5-a358-4f76577d4e2f",
"roles": [],
"groups": ["b617a647-b5d0-4cbe-9e40-26f89710bf18"],
"scope": {
"name": "workspace_agent",
"display_name": "Workspace Agent",
"name": "Scope_all",
"display_name": "All operations",
"site": [
{ "negate": false, "resource_type": "workspace", "action": "read" }
{
"negate": false,
"resource_type": "*",
"action": "*"
}
],
"org": {},
"user": [],
"allow_list": ["9046b041-58ed-47a3-9c3a-de302577875a"]
"allow_list": ["*"]
}
}
}