Skip to main content

role_level

Function role_level 

Source
pub fn role_level(role: &str) -> Option<usize>
Expand description

The hierarchy itself and its expansion live in cloudillo-types so the auth adapters can mint role strings through the same code the token-refresh path uses — see that module for why. Hierarchy index of a single role, or None if unknown.