You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Adds project.read and project.writeScopeDefinition entries to the API key scopes catalog, making them selectable in the Other accordion of the key creation/edit UI. The PR description also commits to adding platforms.read and platforms.write, but those two entries are missing from scopes: ScopeDefinition[] and therefore won't appear in the UI.
Confidence Score: 4/5
Safe to merge only after adding the missing platforms.read and platforms.write ScopeDefinition entries, or updating the PR description to reflect the reduced scope.
Single P1 finding: platforms.read and platforms.write are stated in the PR description but not implemented in the ScopeDefinition[] array, leaving users unable to select them in the UI.
src/lib/constants.ts — missing two ScopeDefinition objects for platforms scopes
Important Files Changed
Filename
Overview
src/lib/constants.ts
Adds project.read and project.write ScopeDefinition entries; platforms.read and platforms.write described in the PR are absent from the ScopeDefinition[] array.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
project.readandproject.writeto the API key scopes catalog (src/lib/constants.ts).appwrite/app/config/scopes/project.php— this just exposes them in the console.Test plan
project.readandproject.writecheckboxes appear with correct labels and descriptions