Skip to main content

is_public_topic

Function is_public_topic 

Source
pub fn is_public_topic(topic: &str) -> bool
Expand description

Topics browser / IpcScope::Restricted agents may access without elevation.

A topic is public when it is exactly "public" or has the public. prefix (e.g. public.events, public.health). All other topics require a broader IPC scope (typically granted via governance-gated capability elevation).