Skip to main content

update_role

Function update_role 

Source
pub async fn update_role(
    db: &DbHandle,
    id: i64,
    name: Option<&str>,
    slug: Option<&str>,
    allow_system: bool,
) -> Result<Model>