Function has_role

Source
pub fn has_role(
    ctx: Context<'_, '_, '_, '_, HasRole<'_>>,
    authority: Pubkey,
    role: String,
) -> Result<bool>
Expand description

Verify that the authority has the given role in the given store without signing.