Skip to content

chore(backend): update casbin documentation - #295

Draft
sabinem wants to merge 1 commit into
mainfrom
chore/update-casbin-documentation
Draft

chore(backend): update casbin documentation#295
sabinem wants to merge 1 commit into
mainfrom
chore/update-casbin-documentation

Conversation

@sabinem

@sabinem sabinem commented Sep 10, 2026

Copy link
Copy Markdown
Collaborator

docs(backend): correct the casbin matcher comment

The [matchers] comment described keyMatch, but the matcher calls
globMatch.

Also documents the g2(r.sub, p.sub) branch, which was missing
entirely, the && / || precedence that puts the admin escape hatch
outside all four tests, and the asymmetry that role grants (g) match
the domain exactly while only policies (p) are pattern-matched.

Comments only, the matcher expression is unchanged.

@sabinem
sabinem marked this pull request as draft September 10, 2026 06:53
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.

1 participant