mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
feat: add user:read scope (#23348)
Enables [23270](https://github.com/coder/coder/discussions/23270). Makes it possible for admin users to create API tokens scoped for reading users' data.
This commit is contained in:
@@ -247,6 +247,7 @@ var PublicAPIKeyScopes = []APIKeyScope{
|
||||
APIKeyScopeTemplateRead,
|
||||
APIKeyScopeTemplateUpdate,
|
||||
APIKeyScopeTemplateUse,
|
||||
APIKeyScopeUserRead,
|
||||
APIKeyScopeUserReadPersonal,
|
||||
APIKeyScopeUserUpdatePersonal,
|
||||
APIKeyScopeUserSecretAll,
|
||||
|
||||
Reference in New Issue
Block a user