Skip to content

Commit 16e36a6

Browse files
bourgeoaTallTed
andauthored
Update lib/acl-checker.js
Co-authored-by: Ted Thibodeau Jr <tthibodeau@openlinksw.com>
1 parent 33f7354 commit 16e36a6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/acl-checker.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ class ACLChecker {
133133
// without Read, the response code will reveal whether a Container is empty or not
134134
if (directory && this.resource.endsWith('/')) resourceAccessDenied([ACL('Read'), ACL('Write')])
135135
// if resource and acl have same parent container,
136-
// then Read Write from parent is required
136+
// then both Read and Write on parent is required
137137
else if (!directory && aclFile.value.endsWith(`/${this.suffix}`)) await accessdeniedFromParent([ACL('Read'), ACL('Write')])
138138

139139
// deleting a Document

0 commit comments

Comments
 (0)