Skip to content

Function permissions::safety::lockdown_disable

zaun_community_protocol::permissions::safety::lockdown_disable · Function

pub fn lockdown_disable(actor: &Party, held: Permissions, active: ActiveLockdown) -> Result<(), Refusal>

moderation.lockdown.disable: top(A) ≥ the enabling actor’s recorded top (owner exempt), so a lower moderator cannot lift a higher one’s lockdown, and H3 on the bits the lockdown restricts, against held as in lockdown_enable.

Full rustdoc page