Skip to main content

grants

Function grants 

pub fn grants(
    room: &str,
    installation: &str,
    installer: &str,
    rules: &[Rule],
) -> Result<Vec<Grant>, BotRuleError>
Expand description

The grants installing installation in room gives, with installer (a user root, hex) as the grantor: the scoped rules, then the deny on the room resource that agent admissions carry too.

ยงErrors

See scoped_rules.