v0.3 decision backend selection
The reference deployment uses Open Policy Agent 1.22.2 behind the repository's AuthZEN service. OPA is the maintained external decision engine. The service supplies protocol mapping and versioned synchronization. The selection covers the complete portable model before provider implementation starts.
| Backend | Fit for this release | Translation support |
|---|---|---|
| OPA | Attribute conditions, deny precedence, graph traversal, explicit revision inputs, and data APIs | Complete oe.permissions/v1 model through the supplied Rego policy and normalized data |
| OpenFGA | Relationship modeling and conditional tuples; a separate layer would enforce this release's global required conditions and deny semantics | No direct translation advertised |
| Cerbos | Resource policies and attribute conditions; relationship closure would need a separate trusted data integration | No direct translation advertised |
| Existing local RBAC | Organization permission strings and v0.2 group roles | Import into the portable model preserves each source; advanced policies cannot export to plain RBAC |
The runtime remains authoritative for organization membership, deactivation, session state, and attribute provenance. The local Rust evaluator validates management authority and compares portable decisions with OPA before policy activation. External decisions require the exact synchronized organization revision. Unsupported policy constructs fail validation before activation. The AuthZEN service uses separate management and evaluation credentials and does not expose OPA's management API to applications.
Primary references: