diff --git a/lib/acl-checker.js b/lib/acl-checker.js index eeb6a176..8ebba38a 100644 --- a/lib/acl-checker.js +++ b/lib/acl-checker.js @@ -133,7 +133,7 @@ class ACLChecker { // without Read, the response code will reveal whether a Container is empty or not if (directory && this.resource.endsWith('/')) resourceAccessDenied([ACL('Read'), ACL('Write')]) // if resource and acl have same parent container, - // then Read Write from parent is required + // then both Read and Write on parent is required else if (!directory && aclFile.value.endsWith(`/${this.suffix}`)) await accessdeniedFromParent([ACL('Read'), ACL('Write')]) // deleting a Document