Skip to content

feat(authorization): add permission evaluator - #16

Merged
ponchanon merged 1 commit into
mainfrom
feat/permission-evaluator
Aug 12, 2026
Merged

feat(authorization): add permission evaluator#16
ponchanon merged 1 commit into
mainfrom
feat/permission-evaluator

Conversation

@ponchanon

Copy link
Copy Markdown
Contributor

PR summary

Adds the initial authorization permission evaluator for OpenHealthOS.

Evaluates permissions against identity scopes and roles
Uses case-insensitive permission matching
Returns Allow or Deny through the existing authorization contract
Adds unit-test infrastructure
Adds coverage for scope, role, denial, empty permissions, and case-insensitive matching

Authentication and authorization remain separated through the existing IIdentityContext, IAuthorizationContext, and IAuthorizationEvaluator abstractions.

@ponchanon
ponchanon merged commit 4a32209 into main Aug 12, 2026
1 check passed
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