Skip to content

Add support for self expression syntax#16

Open
ivanauth wants to merge 1 commit intoauthzed:mainfrom
ivanauth:fix/issue-14-self-syntax
Open

Add support for self expression syntax#16
ivanauth wants to merge 1 commit intoauthzed:mainfrom
ivanauth:fix/issue-14-self-syntax

Conversation

@ivanauth
Copy link
Copy Markdown

@ivanauth ivanauth commented Mar 25, 2026

Description

Adds support for parsing self in permission expressions, following the same pattern as nil. This allows schemas like permission view = viewer + self to be parsed correctly.

Tested locally against the playground, self is no longer highlighted in red.

Screenshot 2026-03-25 at 6 48 21 PM

Fixes #14

@ivanauth ivanauth force-pushed the fix/issue-14-self-syntax branch from a997933 to 2b4b639 Compare March 27, 2026 20:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Update parser to support self syntax

1 participant