Skip to main content

role_update

Function role_update 

Source
pub fn role_update(
    actor: &Party,
    cp: Permissions,
    role: &Role,
    new_permissions: Permissions,
    other_fields: bool,
) -> Result<(), Refusal>
Expand description

role.update: H4 on the role, H3 on old XOR new. @everyone may change only its permissions (other_fields is true when the body changes anything else).