pub type SharedPermissions = Arc<RwLock<LayeredPermissionsConfig>>;Expand description
Thread-safe shared reference to a layered permissions configuration.
Wraps the config in an Arc<RwLock<...>> so that multiple components
(ToolRegistry, plan mode tools, HTTP handlers) can share a single
config instance. Runtime rule changes via add_session_rule /
remove_session_rule are immediately visible to all readers on their
next .read().await.
Aliased Typeยง
pub struct SharedPermissions { /* private fields */ }