pub trait CasMountAuthorizer: Send + Sync {
// Required method
fn authorize<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
caller: &'life1 Subject,
request: CasMountAuthzRequest<'life2>,
) -> Pin<Box<dyn Future<Output = Result<(), MountError>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait;
}Expand description
Per-op authorization hook for CasMount.
The default constructor uses DenyAllCasAuthorizer. The live XET read
route uses BootstrapCasAuthorizer (#1094 plane #1: explicit, audited
bootstrap grants, default-deny). As #699/#767 provenance and MAC plumbing
lands, production namespaces move to a real MAC authorizer; trusted local
single-tenant tools can explicitly opt into AllowAllCasAuthorizer.