Find Related products on Amazon

Shop on Amazon

Gatehouse – a composable, async-friendly authorization policy framework in Rust

Published on: 2025-06-01 16:50:47

Gatehouse A flexible authorization library that combines role-based (RBAC), attribute-based (ABAC), and relationship-based (ReBAC) access control policies. Features Multi-paradigm Authorization : Support for RBAC, ABAC, and ReBAC patterns : Support for RBAC, ABAC, and ReBAC patterns Policy Composition : Combine policies with logical operators ( AND , OR , NOT ) : Combine policies with logical operators ( , , ) Detailed Evaluation Tracing : Complete decision trace for debugging and auditing : Complete decision trace for debugging and auditing Fluent Builder API : Construct custom policies with a PolicyBuilder. : Construct custom policies with a PolicyBuilder. Type Safety : Strongly typed resources/actions/contexts : Strongly typed resources/actions/contexts Async Ready: Built with async/await support Core Components Policy Trait The foundation of the authorization system: # [ async_trait ] trait Policy < Subject , Resource , Action , Context > { async fn evaluate_access ( & ... Read full article.