feat(api-reference): render filter grants and access entries of x-epilot-permissions - #158
Merged
Merged
Conversation
Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01C2A97XBNr735zXYDgBMs45
{ access: org|self|owner|internal|portal } renders as e.g. 'any user in
the organization' or 'own user or `user:edit`'. An empty list now reads
'not documented'.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01C2A97XBNr735zXYDgBMs45
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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
Follow-up to #157. Renders two additions to
x-epilot-permissionsin the API reference:filter: truegrants (list/search operations that filter results instead of denying), matching epilot-ci !198 (merged):role:viewaccessentries for intentional non-grant access, matching epilot-ci !200:org,self,owner,internal,portal, also usable insideanyOf:user:editA bare
[]now renders as not documented. It used to render as "any authenticated caller". Under the new convention[]means no check is documented.grant-actions.mdexplainsaccessandfilter.Test plan
npm run buildpassesaccess(alone, in anyOf, combined with filter), filter-only, empty list, invalid access (ignored), and the existing grant/anyOf cases🤖 Generated with Claude Code
https://claude.ai/code/session_01C2A97XBNr735zXYDgBMs45
Generated by Claude Code