pub fn resolve(
chain: &[String],
op: DriveOperation,
rules: &[FolderPermissionRule],
) -> DecisionExpand description
Resolves whether op is permitted against chain (depth 0 = the
target folder itself, then parent, grandparent, …) under rules. See
the module doc for the full algorithm and its tie-breaks.