pub fn role(person: Role, granted: Role) -> Role
The role an agent acts with when its person holds person and its delegation grants it granted: the least of the two and ROLE_CAP. Never more than either.
person
granted
ROLE_CAP