Skip to main content

can_grant

Function can_grant 

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

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