Skip to main content

Module security

Module security 

Source
Expand description

Cross-cutting security primitives shared by audit, confirm, sandbox, and orchestrator.

ActionTier is an alias for identity::Tier: the same enum names both “the tier a principal holds” and “the tier an action requires”, and the authorization check is a single principal.tier >= action.tier comparison. Keeping them as one type removes the manual convert_tier shims the codebase used to carry. The ActionTier name is preserved at this re-export site so action-side call sites read naturally.

Enums§

ActionTier
Authorization tier — used both as the principal’s authorization level and as the tier required by an action. Ordered so >= answers “does this principal’s tier satisfy the action’s required tier?”.