Trait actix_web_grants::permissions::RolesCheck[][src]

pub trait RolesCheck {
    fn has_role(&self, permission: &str) -> bool;
fn has_roles(&self, permissions: Vec<&str>) -> bool;
fn has_any_role(&self, permissions: Vec<&str>) -> bool; }

Required methods

fn has_role(&self, permission: &str) -> bool[src]

fn has_roles(&self, permissions: Vec<&str>) -> bool[src]

fn has_any_role(&self, permissions: Vec<&str>) -> bool[src]

Loading content...

Implementors

impl RolesCheck for AuthDetails[src]

Loading content...