mirror of
https://github.com/coder/coder.git
synced 2026-06-02 20:48:20 +00:00
chore: add more scopes to the curated catalog (#20746)
Just noticed when writing docs. These are probably obvious scopes to allow
This commit is contained in:
@@ -43,6 +43,7 @@ var externalLowLevel = map[ScopeName]struct{}{
|
||||
// Users (personal profile only)
|
||||
"user:read_personal": {},
|
||||
"user:update_personal": {},
|
||||
"user.*": {},
|
||||
|
||||
// User secrets
|
||||
"user_secret:read": {},
|
||||
@@ -57,6 +58,12 @@ var externalLowLevel = map[ScopeName]struct{}{
|
||||
"task:update": {},
|
||||
"task:delete": {},
|
||||
"task:*": {},
|
||||
|
||||
// Organizations
|
||||
"organization:read": {},
|
||||
"organization:update": {},
|
||||
"organization:delete": {},
|
||||
"organization:*": {},
|
||||
}
|
||||
|
||||
// Public composite coder:* scopes exposed to users.
|
||||
|
||||
Reference in New Issue
Block a user