Expand description
Fine-grained permission rule set with glob-based matching and directory scoping.
Provides PermissionRuleSet for ordered, priority-based permission evaluation,
with optional per-directory scoping via glob patterns.
Structs§
- Permission
Rule - A single permission rule with glob pattern matching and optional directory scope.
- Permission
Rule Set - An ordered collection of permission rules evaluated highest-priority-first.
Enums§
- Permission
Action - Action to take when a permission rule matches.
Functions§
- glob_
matches - Glob matching for tool permission patterns.
- glob_
matches_ path - Path-aware glob matching where
*does NOT match/but**does. - is_
sensitive_ file - Check whether a file path points to a sensitive file that should be denied by default.