Skip to content

v0.2.0

Choose a tag to compare

@hardbyte hardbyte released this 17 Feb 02:27
· 54 commits to main since this release
03bbc14

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.

Changed

  • Updated dependencies. (#12)