headless_lms_server::domain::authorization

Function has_permission

Source
fn has_permission(user_role: UserRole, action: Action) -> bool