Skip to main content

permission_rules

Function permission_rules 

Source
pub fn permission_rules(rule: &PolicyRule) -> Result<Vec<String>>
Expand description

The OpenCode rules one policy rule compiles to, as Tuff records them: a permission name, then a space and a pattern when the rule sits in that permission’s object. The effect is the action the rule is written with.