liveBook · Manning

Policy effect

As explained in Authorization in Action

An effect is the policy element that specifies the outcome produced when a policy applies, such as allowing or denying access.

A policy effect states the outcome produced when a policy applies: it either permits or forbids an action. Together with scope and conditions, it forms the policy contract that determines who may perform which action on which resource, and under what circumstances. section 7.2 section 7.2.1

Use the effect to distinguish the policy’s decision contribution:

  • Permit grants access when the policy’s scope matches and its conditions are satisfied. section 7.2.1
  • Forbid denies access, and an applicable forbid overrides an applicable permit. section 7.2.1 section 7.6
  • Effect supplies the outcome, while scope identifies the principal, action, and resource and conditions add contextual logic. section 7.2.4

Managed-device document access

A permit policy can allow an employee to view or edit a document they own when using a managed device. A separate forbid policy can block access to confidential documents from unmanaged devices, overriding a permit that would otherwise apply. section 7.2.1 section 7.2.4

Figure 7.1 A complete Cedar policy showing effect (top box), scope (middle box), and conditions (bottom box)

Inspect the complete policy structure: the effect appears first, followed by scope and contextual conditions. section 7.2.4

How Authorization in Action covers it

How deep it goes
Explains permit, forbid, and deny-overrides, but defers detailed Cedar syntax and deeper evaluation mechanics.
Examples
Uses deployment restrictions, confidential-document access, ownership, and managed-device conditions to contrast permit and forbid policies.
What it assumes
Introduces policy structure conceptually before requiring detailed Cedar syntax or implementation knowledge.
What you can do after
Apply it via Cedar by distinguishing granting rules from overriding denial constraints in an authorization policy.
How it connects
Connects policy effect with scope, conditions, authorization, access decisions, and the PARC model.

Also explained in

Compare how 2 books explain policy effect →

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Authorization in Action. The section links point to the parts of the book it draws on.