You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
Breaking
Generic relationship types for ReBAC: RelationshipResolver<S, R> is now RelationshipResolver<S, R, Re> and RebacPolicy gains a Re type parameter. This allows using enums or other domain-specific types instead of &str for compile-time safety. Re must implement Display for human-readable policy evaluation messages. (#10, #14)
Added
#![warn(missing_docs)] lint enforced — all public items now have documentation. (#13)
Quick Start section in module-level docs showing PolicyBuilder usage.
Standalone doc examples for PolicyBuilder, RbacPolicy, EvalTrace, and AccessEvaluation::to_result.
Enum-based relationship example in examples/rebac_policy.rs.
35 new tests covering AbacPolicy, RbacPolicy, PolicyBuilder, AccessEvaluation, EvalTrace, PolicyEvalResult, CombineOp, PermissionChecker, SecurityRuleMetadata, and EmptyPoliciesError.