pub struct SecurityConfig {
pub deny_on_empty_allowlist: bool,
pub allowlist_authority: InputAuthority,
pub trusted_authority: InputAuthority,
pub api_authority: InputAuthority,
pub threat_caution_ceiling: InputAuthority,
pub filesystem: FilesystemSecurityConfig,
}Expand description
Claim-based RBAC configuration.
Controls how authentication layers compose into an effective authority.
See roboticus_core::security::resolve_claim for the composition algorithm.
Fields§
§deny_on_empty_allowlist: boolWhen true (default), channels with empty allow-lists reject all
messages.
Authority granted to senders who pass a channel’s allow-list.
Default: Peer (can use Safe + Caution tools like filesystem access).
Authority granted to senders in channels.trusted_sender_ids.
Default: Creator (full access).
Authority granted to HTTP API / WebSocket callers.
Default: Creator.
threat_caution_ceiling: InputAuthorityMaximum authority when the threat scanner returns Caution.
Effective authority is capped at this level.
Default: External (Safe tools only).
filesystem: FilesystemSecurityConfigFilesystem access control for agent tools and skill scripts.
Trait Implementations§
Source§impl Clone for SecurityConfig
impl Clone for SecurityConfig
Source§fn clone(&self) -> SecurityConfig
fn clone(&self) -> SecurityConfig
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SecurityConfig
impl Debug for SecurityConfig
Source§impl Default for SecurityConfig
impl Default for SecurityConfig
Source§impl<'de> Deserialize<'de> for SecurityConfig
impl<'de> Deserialize<'de> for SecurityConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for SecurityConfig
impl RefUnwindSafe for SecurityConfig
impl Send for SecurityConfig
impl Sync for SecurityConfig
impl Unpin for SecurityConfig
impl UnsafeUnpin for SecurityConfig
impl UnwindSafe for SecurityConfig
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more