Skip to main content

is_code_defined

Function is_code_defined 

pub fn is_code_defined(grant: &Grant) -> bool
Expand description

Whether grant is one the code defines and every read of a stored policy restores (crate::WorkspacePolicy::with_current_roles): a built-in role’s, or part of the room’s make-up (session_app, device_panel). Whatever narrows a policy and reads it back narrows these again.