Add display names for resource-alias OAuth scopes
The OAuth token and consent UIs fall back to the raw scope string when a label is missing from scopeLabels. Add read and manage labels for v1:resource-alias so it matches other API scopes. Signed-off-by: Cursor Agent <cursoragent@cursor.com> Co-authored-by: Bryan FRIMIN <bryan@frimin.fr> Signed-off-by: Sacha Al Himdani <sacha@probo.com>
This commit is contained in:
committed by
Sacha Al Himdani
parent
ef87fa981d
commit
478e34b82f
@@ -39,6 +39,8 @@ const apiScopeLabels: Record<string, string> = {
|
||||
"v1:org": "Manage organization",
|
||||
"v1:privacy:read": "Read privacy settings",
|
||||
"v1:privacy": "Manage privacy settings",
|
||||
"v1:resource-alias:read": "Read resource aliases",
|
||||
"v1:resource-alias": "Manage resource aliases",
|
||||
"v1:risk:read": "Read risks",
|
||||
"v1:risk": "Manage risks",
|
||||
"v1:slack-connection:read": "Read Slack connections",
|
||||
|
||||
Reference in New Issue
Block a user