mirror of
git://git.proxmox.com/git/proxmox-backup.git
synced 2025-01-24 02:04:14 +03:00
87d8aa4278
`any_priv_below()` checks if a given AuthId has any given privileges on a sub-tree of the AclTree. to do so, it first takes into account propagating privileges on the path itself and then uses a depth-first search to check if any of the provided privileges are set on any node of the sub-tree pointed to by the path. Signed-off-by: Stefan Sterz <s.sterz@proxmox.com> Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>