From 497c54080e5d0efceca38ba9a31704683ebf0a29 Mon Sep 17 00:00:00 2001 From: Atharva Deosthale Date: Wed, 29 Apr 2026 13:13:47 +0530 Subject: [PATCH 1/2] feat: add project and platforms scopes to API keys --- src/lib/constants.ts | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/src/lib/constants.ts b/src/lib/constants.ts index 6cc4a026b0..0fe1e75b3e 100644 --- a/src/lib/constants.ts +++ b/src/lib/constants.ts @@ -500,6 +500,30 @@ export const scopes: ScopeDefinition[] = [ description: "Access to create, update, and delete your project's API keys", category: 'Other', icon: 'globe' + }, + { + scope: 'project.read', + description: "Access to read your project's information", + category: 'Other', + icon: 'globe' + }, + { + scope: 'project.write', + description: "Access to update your project's information", + category: 'Other', + icon: 'globe' + }, + { + scope: 'platforms.read', + description: "Access to read your project's platforms", + category: 'Other', + icon: 'globe' + }, + { + scope: 'platforms.write', + description: "Access to create, update, and delete your project's platforms", + category: 'Other', + icon: 'globe' } ]; From 3ebd0d3fe0412d074dc10e989a99f39d447313e3 Mon Sep 17 00:00:00 2001 From: Atharva Deosthale Date: Wed, 29 Apr 2026 13:17:16 +0530 Subject: [PATCH 2/2] remove platforms scopes --- src/lib/constants.ts | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/src/lib/constants.ts b/src/lib/constants.ts index 0fe1e75b3e..be661eefb5 100644 --- a/src/lib/constants.ts +++ b/src/lib/constants.ts @@ -512,18 +512,6 @@ export const scopes: ScopeDefinition[] = [ description: "Access to update your project's information", category: 'Other', icon: 'globe' - }, - { - scope: 'platforms.read', - description: "Access to read your project's platforms", - category: 'Other', - icon: 'globe' - }, - { - scope: 'platforms.write', - description: "Access to create, update, and delete your project's platforms", - category: 'Other', - icon: 'globe' } ];