Skip to content

feat(casbin): add authorizer adapter#14

Merged
jmgilman merged 1 commit into
masterfrom
feat/session-006-casbin-authorizer
May 8, 2026
Merged

feat(casbin): add authorizer adapter#14
jmgilman merged 1 commit into
masterfrom
feat/session-006-casbin-authorizer

Conversation

@jmgilman
Copy link
Copy Markdown
Contributor

@jmgilman jmgilman commented May 8, 2026

Summary

  • add a thin Casbin v3 adapter that satisfies authkit.Authorizer
  • default to principal ID plus resource/action projection for classic Casbin enforcement
  • cover allow, deny, custom projection, error propagation, and a real Casbin enforcer path

Testing

  • go test ./...
  • moon run root:check
  • git diff --check

@jmgilman jmgilman merged commit 191e7c4 into master May 8, 2026
2 checks passed
@jmgilman jmgilman deleted the feat/session-006-casbin-authorizer branch May 8, 2026 03:36
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