Skip to content

Commit f23836d

Browse files
authored
chore: add more scopes to the curated catalog (#20746)
Just noticed when writing docs. These are probably obvious scopes to allow
1 parent da9214e commit f23836d

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

coderd/rbac/scopes_catalog.go

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ var externalLowLevel = map[ScopeName]struct{}{
4343
// Users (personal profile only)
4444
"user:read_personal": {},
4545
"user:update_personal": {},
46+
"user.*": {},
4647

4748
// User secrets
4849
"user_secret:read": {},
@@ -57,6 +58,12 @@ var externalLowLevel = map[ScopeName]struct{}{
5758
"task:update": {},
5859
"task:delete": {},
5960
"task:*": {},
61+
62+
// Organizations
63+
"organization:read": {},
64+
"organization:update": {},
65+
"organization:delete": {},
66+
"organization:*": {},
6067
}
6168

6269
// Public composite coder:* scopes exposed to users.

codersdk/apikey_scopes_gen.go

Lines changed: 4 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)