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
The policy model — Cedar, the entities OpenIAM exposes to it, and how a decision is actually reached. Read this first; the rest assumes it.
Create a policy — the form builder, the Cedar editor, and why versions are immutable.
Simulate a policy — evaluate it against real users and resources while it affects nothing.
Roll a policy out safely — shadow, partial and full, and the order to take them in.
Trace a decision — why one request was refused, and which policy refused it.
Privacy decisions — a policy that requires the person's consent for a privacy purpose, the
context.privacyrecord 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
Assigning access. Roles, groups and access rights are Model and grant access.
Certifying access. Reviewing what people hold is Govern access.
Authenticating the user. A policy decides what an already-authenticated user may do — Secure sign-in and credentials.
Related
PBAC reference — the service, its dependencies, cache intervals, configuration properties and REST API
Privacy decisions — consent-aware decisions, obligations, and enforcement at the Access Gateway
The access model — the entitlement model policies read from
Find audit evidence — PBAC decisions are audit events, so everything there applies to them
Deciding access at request time — whether a rule belongs in a policy at all, as a design decision
Last updated
Was this helpful?