Skip to content

Commit

Permalink
Update lib/acl-checker.js
Browse files Browse the repository at this point in the history
Co-authored-by: Ted Thibodeau Jr <[email protected]>
  • Loading branch information
bourgeoa and TallTed authored Jan 17, 2024
1 parent 33f7354 commit 16e36a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/acl-checker.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 16e36a6

Please sign in to comment.