acl: change path "storage" to "datastore"

This commit is contained in:
Dietmar Maurer 2020-04-17 14:15:44 +02:00
parent aa90ced3bf
commit 5972def5ec

View File

@ -44,7 +44,7 @@ fn check_acl_path(path: &str) -> Result<(), Error> {
if components.is_empty() { return Ok(()); } if components.is_empty() { return Ok(()); }
if components.len() == 2 { if components.len() == 2 {
if components[0] == "storage" { return Ok(()); } if components[0] == "datastore" { return Ok(()); }
} }
bail!("invalid acl path '{}'.", path); bail!("invalid acl path '{}'.", path);