Skip to main content

aion_server/namespace/
mod.rs

1//! Namespace authorization and routing support.
2
3/// The grant vocabulary: every deployment-wide authorization word, as data.
4pub mod grants;
5/// Namespace guard rules for workflow operations and subscriptions.
6pub mod guard;
7/// The production gRPC mint forwarder.
8pub mod mint_forward;
9/// Transport-agnostic minted-on-use namespace hook (Control-Plane Phase 1).
10pub mod minter;
11/// Caller identity resolution and scoped-engine selection.
12pub mod resolver;
13/// Namespace-mint routing: the mint travels to its registry shard's owner.
14pub mod route;
15/// Durable schedule→namespace ownership sources.
16pub mod schedule_source;
17
18pub use grants::{GRANT_WORDS, GrantWord, require_grant};
19pub use guard::{
20    NamespaceGuard, NamespaceOperation, ScheduleTarget, SubscriptionScope, WorkflowTarget,
21};
22pub use mint_forward::GrpcMintForwarder;
23pub use minter::NamespaceMinter;
24pub use resolver::{
25    CallerIdentity, DISPLAY_NAME_ATTRIBUTE, NAMESPACE_ATTRIBUTE, NamespaceResolver, ScopedEngine,
26    StaticWorkflowNamespaces, TASK_QUEUE_ATTRIBUTE, WorkflowAttribution, WorkflowNamespaceSource,
27};
28pub use route::{
29    ForwardMintError, MintCredentials, MintForwarder, MintOwner, MintRoute, MintShardOwners,
30    NamespaceRouting, NamespaceShardResolver, decode_mint_origin, encode_mint_origin,
31};
32pub use schedule_source::{ScheduleNamespaceSource, StaticScheduleNamespaces};