Class PermissionResolver
"Deny wins" evaluation of a single permission-node set, ported faithfully from the upstream
PermissionsModule.hasPermission. Returns a tri-state: true (granted), false
(denied), or null (unset — the caller falls through to the next set or a default). Precedence:
-*root deny- exact deny
-node - exact grant
node - deny wildcards, most specific to least
*root grant- grant wildcards, least specific to most
- unset (null)
public static class PermissionResolver
- Inheritance
-
PermissionResolver
- Inherited Members
Methods
Evaluate(IReadOnlySet<string>?, string)
public static bool? Evaluate(IReadOnlySet<string>? nodes, string id)
Parameters
nodesIReadOnlySet<string>idstring
Returns
- bool?