Function is_role_grant
pub fn is_role_grant(grant: &Grant) -> boolExpand description
Whether grant is one of a built-in role’s grants: given to the role
itself under a role:<role>:<index> id. Those are the code’s, from
role_rules; a workspace’s own adjustments to a role are grants under other
ids and custom presets assign preset: ids, so neither is one.