Function unchecked_disable_role

Source
pub fn unchecked_disable_role(
    ctx: Context<'_, '_, '_, '_, DisableRole<'_>>,
    role: String,
) -> Result<()>
Expand description

Disable the given role in the data store.

ยงCHECK

  • This instruction can only be called by the ADMIN.