Skip to content

Function permissions::roles::can_grant

zaun_community_protocol::permissions::roles::can_grant · Function

pub fn can_grant(actor: &Party, cp: Permissions, role: &Role) -> Result<(), Denial>

Hierarchy over a role being granted, without MANAGE_ROLES: not @everyone, H4, and its known bits held (H3). Used by membership.approve.

Full rustdoc page