Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Decide access with policies

Author, simulate and safely roll out Cedar-based access policies that decide requests on attributes and context, alongside the entitlements a user already holds.

Applies to: OpenIAM 2026.8.1

What this is, and when you need it

Policy-based access control (PBAC) answers a question entitlements cannot. An entitlement records what has been assigned to a user. A policy decides whether this particular request should be allowed, given who the user is, what they are reaching for, and the circumstances — the time of day, the content provider the request arrived through, an attribute on the user's record.

You need this section when a rule cannot be expressed as a membership. "Contractors may reach this application, but only during working hours" is not a role you can grant; it is a condition on every request. PBAC is where that lives.

It does not replace the access model. Policies run alongside roles, groups, resources and access rights, and they read those entitlements as attributes — a policy can ask whether a user holds a role without that role being what decides the request. If you are looking for how access is assigned in the first place, that is Model and grant access.

New in 2026.8.1, delivered by its own pbac-manager microservice with its own pbac database, and managed from Administration → PBAC Policies in the Webconsole.

Start here

  1. The policy model — Cedar, the entities OpenIAM exposes to it, and how a decision is actually reached. Read this first; the rest assumes it.

  2. Create a policy — the form builder, the Cedar editor, and why versions are immutable.

  3. Simulate a policy — evaluate it against real users and resources while it affects nothing.

  4. Roll a policy out safely — shadow, partial and full, and the order to take them in.

  5. Trace a decision — why one request was refused, and which policy refused it.

  6. Privacy decisions — a policy that requires the person's consent for a privacy purpose, the context.privacy record it reads, obligations, and the four-valued outcome.

How a decision is reached

Two rules decide everything, and both are Cedar's rather than OpenIAM's:

  • Forbid wins. If any applicable policy forbids the request, it is denied — no matter what else permits it.

  • Default deny. If nothing permits the request, it is denied. A request that matches no policy at all is refused, not allowed.

Every applicable policy is merged and evaluated in a single engine call, so those semantics apply across the whole policy set rather than policy by policy.

An access decision is ALLOW or DENY. A privacy decision — one where a policy on the resource requires consent for a purpose registered in the Privacy module — can also be CONDITIONAL or REVIEW_REQUIRED, and may carry obligations such as masking a field or logging the access. See Privacy decisions. Every decision is recorded in the decision log.

What this section does not cover

Last updated

Was this helpful?