rbac-policies
Simulate policy evaluation for an organization
Tests what decision would be made for a given subject and context. Evaluates both system policies (from config) and organization policies (from database), matching the runtime authorization flow.
Evaluation Order
- Check if RBAC is disabled → return allow with rbac_enabled: false
- Evaluate system policies (from config file) first
- If a system policy matches → return that decision
- Evaluate organization policies (from database)
- If an org policy matches → return that decision
- No policy matched → apply configured default_effect
post/admin/v1/organizations/{org_slug}/rbac-policies/simulate
Request
- Base URL: / (relative, and the document was published on a file host, not at the API’s origin)
- URL: /admin/v1/organizations/{org_slug}/rbac-policies/simulate
- Auth: HTTP bearer
Path parameters
org_slugstring required
Organization slug
Request body
Response
Simulation result
Changes
No recorded changes to this operation across all 1 revision of this API.