diff --git a/src/config/acl.rs b/src/config/acl.rs index 95bea06d..fbe11a5e 100644 --- a/src/config/acl.rs +++ b/src/config/acl.rs @@ -364,6 +364,12 @@ pub fn check_acl_path(path: &str) -> Result<(), Error> { return Ok(()); } } + "job" => { + // /tape/job/{id} + if components_len <= 3 { + return Ok(()); + } + } _ => {} } } diff --git a/src/config/datastore.rs b/src/config/datastore.rs index 6d6cd402..7b16ab14 100644 --- a/src/config/datastore.rs +++ b/src/config/datastore.rs @@ -192,6 +192,8 @@ pub fn complete_acl_path(_arg: &str, _param: &HashMap) -> Vec