feat: add rules.read and rules.write to API key scopes#2972
feat: add rules.read and rules.write to API key scopes#2972singhvishalkr wants to merge 1 commit intoappwrite:mainfrom
Conversation
Greptile SummaryThis PR adds the two missing Confidence Score: 5/5Safe to merge — minimal, targeted change that fixes a missing UI definition with no logic impact. Only one file changed with two new constant entries that mirror existing patterns exactly. The scopes were already present in No files require special attention. Important Files Changed
Reviews (1): Last reviewed commit: "feat: add rules.read and rules.write to ..." | Re-trigger Greptile |
What does this PR do?
Adds the missing
rules.readandrules.writescope definitions to the API key scopes list insrc/lib/constants.ts.These scopes are already included in
defaultScopesbut were missing from the selectable scope definitions, making them invisible in the API key creation/editing UI.Closes #2156
Changes
rules.readandrules.writeentries to thescopesarray with appropriate descriptions, matching the style of existing scope definitions.How to test
rules.readandrules.writenow appear in the scopes list