Skip to main content

resolve

Function resolve 

Source
pub fn resolve(
    chain: &[String],
    op: DriveOperation,
    rules: &[FolderPermissionRule],
) -> Decision
Expand 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.