]> git.proxmox.com Git - proxmox.git/commit
router: permissions: allow to pass partial-collapsed acl path components
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Thu, 28 Apr 2022 11:27:02 +0000 (13:27 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Thu, 5 May 2022 06:54:14 +0000 (08:54 +0200)
commit43b5f1ae3ebfaaef1096f29672bbfa877247b41e
tree5fae2cde3e79b45f0c227591a8a0bd49dd88d3d4
parente98ca77777613d74fa18b949699bd089b06046f5
router: permissions: allow to pass partial-collapsed acl path components

This would allow the following components:

* all in one : &["system/network"]
* mixed: &["system/network", "dns"]
* with templates: &["datastore/{store}"]
* with the value of template being a path, e,g, with ns = "foo/bar":
  &["/datastore/{store}/{ns}"]

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
proxmox-router/src/permission.rs