You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Authorization coverage: what each policy gates and what is not gated #1389
Scenario this serves. An application sells a plan per asset (a vessel in a fleet, a site, a workspace), not per customer. Which views, API operations and tools a caller may use depends on the plan of the specific asset they act on. Today a policy decides from the caller (role, claim) and from the arguments of the command or query. It cannot decide from state the application has recorded, such as the asset's plan.
Problem
Nothing tells a modeller which commands, queries, screens and tools are gated by which policy, or which are not gated at all. With plan-based gating spread across a product, the real risk is the surface someone forgot.
What the person should see
For a policy: everything it gates, and the plan or entitlement it depends on.
For an operation: its effective authorization, including what it inherits from its module and feature.
Partly delivered, issue stays open. Cratis/Studio#2630 adds a completeness finding for a command that reads recorded state and has no authorization of its own, in its feature or in its module. It appears with the board's other completeness findings. Not built: the per-policy 'what does it gate' view, the effective-authorization view per operation, and the plans-against-features matrix.
Delivered in Cratis/Studio#2630 and #2632: the panel lists what each policy gates, the effective policies of each command and query, and flags an operation that reads recorded state and nothing gates.
Activity
einari commentedon Nov 10, 2026
Partly delivered, issue stays open. Cratis/Studio#2630 adds a completeness finding for a command that reads recorded state and has no authorization of its own, in its feature or in its module. It appears with the board's other completeness findings. Not built: the per-policy 'what does it gate' view, the effective-authorization view per operation, and the plans-against-features matrix.
einari commentedon Nov 10, 2026
Delivered in Cratis/Studio#2630 and #2632: the panel lists what each policy gates, the effective policies of each command and query, and flags an operation that reads recorded state and nothing gates.