Skip to content

entitlementResultDenies

entitlementResultDenies(result): boolean

Whether an entitlement result denies access.

A result denies when its status is 'denied' OR the evaluator’s allowed verdict is explicitly false. The second clause matters for at-cap limit rules: blocking enforcement — including the unset-enforcement default — resolves { status: 'limited', allowed: false }, and gating on status alone silently granted access at the cap (plan 179 TASK-10; the cold-funnel “cap never blocks” trap). Degrade mode (limited + allowed: true) stays granted.

{ } | null

boolean