[pbs-devel] [PATCH v3 proxmox-backup 12/33] config: acl: mention optional namespace acl path component

Christian Ebner c.ebner at proxmox.com
Thu Sep 12 16:33:01 CEST 2024


`datastore` ACL paths are not limited to the datastore name, but might
have further sub-components specifying the namespace, therefore extend
the comment to mention this.

Signed-off-by: Christian Ebner <c.ebner at proxmox.com>
---
changes since version 2:
- not present in previous version

 pbs-config/src/acl.rs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pbs-config/src/acl.rs b/pbs-config/src/acl.rs
index 4ce4c13c0..6b6500f34 100644
--- a/pbs-config/src/acl.rs
+++ b/pbs-config/src/acl.rs
@@ -80,7 +80,7 @@ pub fn check_acl_path(path: &str) -> Result<(), Error> {
             }
         }
         "datastore" => {
-            // /datastore/{store}
+            // /datastore/{store}/{namespace}
             if components_len <= 2 {
                 return Ok(());
             }
-- 
2.39.2





More information about the pbs-devel mailing list