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:
Kerem Kacel
2026-03-22 09:06:03 -05:00
committed by GitHub
parent a08b6848f2
commit b763b72b53
3 changed files with 4 additions and 1 deletions
+1
View File
@@ -247,6 +247,7 @@ var PublicAPIKeyScopes = []APIKeyScope{
APIKeyScopeTemplateRead,
APIKeyScopeTemplateUpdate,
APIKeyScopeTemplateUse,
APIKeyScopeUserRead,
APIKeyScopeUserReadPersonal,
APIKeyScopeUserUpdatePersonal,
APIKeyScopeUserSecretAll,