From 5972def5ec61b946714460100fa56e88a4e5a1dc Mon Sep 17 00:00:00 2001 From: Dietmar Maurer Date: Fri, 17 Apr 2020 14:15:44 +0200 Subject: [PATCH] acl: change path "storage" to "datastore" --- src/api2/access/acl.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/api2/access/acl.rs b/src/api2/access/acl.rs index f0823cc2..74791afa 100644 --- a/src/api2/access/acl.rs +++ b/src/api2/access/acl.rs @@ -44,7 +44,7 @@ fn check_acl_path(path: &str) -> Result<(), Error> { if components.is_empty() { return Ok(()); } if components.len() == 2 { - if components[0] == "storage" { return Ok(()); } + if components[0] == "datastore" { return Ok(()); } } bail!("invalid acl path '{}'.", path);