---
title: "Policy engine | Owlie"
description: "Policies say who should have what. Owlie keeps access matching them as people change, and shows what a policy will grant and remove before it goes live."
canonical: "https://owlie.com/platform/policy-engine"
---

Policy engine

# Write the rule once and see what it changes first.

Policies say who should have what. Owlie keeps access matching them as people change, and shows what a policy will grant and remove before it goes live.

[Sign Up Free](https://owlie.com/signup) [See the whole platform](https://owlie.com/platform)

Figure: A pending rollout from one policy version to the next: how many people it touches, what it grants and what it removes, before anyone rolls it out. Illustrative example · nothing changes until someone confirms.

- **Preview.** See how many people a change touches, what it grants, and what it removes. The preview also counts removals that would be parked for review.
- **Try it on a few.** Pick up to ten people and see what each would gain and lose. Nothing is saved.
- **Confirm.** A change goes live only when someone confirms it, and each rollout is kept in the policy’s history. A pending rollout can be cancelled instead.

How access is decided

## Everything granted, minus what is denied.

Every person’s access is worked out the same way. A deny wins, unless an approved exception spares that access.

Figure: One person’s access worked out: everything granted, minus what is denied, plus what an approved exception spares. Illustrative example.

### Grant and deny.

A grant policy adds access for the people it matches. A deny policy removes it, and wins over any grant.

### Kept current.

When someone’s department, manager, or status changes, their access is worked out again and only the difference is sent to provisioning.

### Versioned.

Editing a live policy creates a new version. The old one stays in force until the new one is rolled out.

### Rules and requests coexist.

Access someone requested stays when a policy stops applying, unless that policy is set to remove it.

Lifecycle states and one-off reactions run on the same engine. [See joiner, mover, leaver](https://owlie.com/solutions/jml)

## Large removals wait for a second approval.

A flood of removals from bad data stops, and an operator is alerted.

### A rollout that removes too much is held.

It stops before anything is applied and needs a second approval to continue.

### A flood from bad data is held.

If an upstream data problem starts removing access from an unusual number of people, further removals stop and an operator is alerted.

### Apply or discard.

Held removals can be previewed, then applied or discarded.

### Resuming starts from now.

Each held person is worked out again from current data, so someone whose record was fixed keeps their access.

Separation of duties

## Name the conflict once.

Say which two kinds of access one person should not hold together.

### One rule, enforced both ways.

A constraint creates the pair of deny policies that enforce it and keeps them locked together.

### Existing conflicts wait for a person.

Owlie reports who already holds both and parks each for review. It does not pick which access to remove.

### Checked at the request.

Set a constraint to report, warn, or block. Requests and an administrator’s direct adds are checked against it.

### Exceptions on the record.

An approved exception sits on the access it spares, with its approver and any reason and end date.

Explainability

## The reason behind each person’s access

### Every grant has a reason.

A policy and its version, a request, a direct add, or access found by sync: Owlie records which.

### Shown on the account.

An account’s Why tab keeps the condition the granting policy required and the decision input from Owlie’s last evaluation.

### How removal happens.

When a policy stops applying, access can go at once, after a grace period, or after a person confirms.

### Adopt what is already there.

A new policy can take over access people already hold, or leave it as it was. The preview counts both.

Related:

- [Joiner, mover, leaver](https://owlie.com/solutions/jml)
- [Access requests](https://owlie.com/platform/access-requests)
- [Provisioning](https://owlie.com/platform/provisioning)
- [Access reviews](https://owlie.com/platform/access-reviews)

## Read the preview.

Sign up free, write one policy, and see what it would change before anything moves.

[Sign Up Free](https://owlie.com/signup) [See the whole platform](https://owlie.com/platform)
