Skip to main content

role

Function role 

pub fn role(person: Role, granted: Role) -> Role
Expand description

The role an agent acts with when its person holds person and its room admission (its preset, or its delegation) grants it granted: the least of the two and ROLE_CAP. Never more than either.