acl: change path "storage" to "datastore"
This commit is contained in:
parent
aa90ced3bf
commit
5972def5ec
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user