An organisation with no access policies allows every request #2104

Open
opened 2026-11-21 15:17:13 +00:00 by sam · 0 comments
Owner

Why: governance.Engine.Authorize falls through to allowed when an org has no policies at all, so deny by default (#2078) is only as strong as the seeded policies. Deleting every policy, or an org that was never seeded, opens every authorized operation. Some delivery tests rely on the current behaviour.

Done when: an org with no applicable policy is refused for every authorized operation, the shipped policies grant what a fresh install needs, and the tests that leaned on the fall-through declare the policies they need.

**Why**: governance.Engine.Authorize falls through to allowed when an org has no policies at all, so deny by default (#2078) is only as strong as the seeded policies. Deleting every policy, or an org that was never seeded, opens every authorized operation. Some delivery tests rely on the current behaviour. **Done when**: an org with no applicable policy is refused for every authorized operation, the shipped policies grant what a fresh install needs, and the tests that leaned on the fall-through declare the policies they need.
sam added the highbug labels 2026-11-21 15:17:13 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: sam/archie#2104