Skip to content

Commit 5a42a14

Browse files
committed
Merge branch '5.7.9-beta' of https://github.com/solid/node-solid-server into 5.7.9-beta
2 parents fbd30b0 + 897207c commit 5a42a14

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/acl-checker.js

Lines changed: 2 additions & 2 deletions
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
@@ -170,7 +170,7 @@ class ACLChecker {
170170
return `${parts.join('/')}/`
171171
}
172172

173-
// Gets the ACL's that applies to the resource
173+
// Gets any ACLs that apply to the resource
174174
// DELETE uses docAcl when docAcl is parent to the resource
175175
// or docAcl and parentAcl when docAcl is the ACL of the Resource
176176
async getNearestACL (method) {

0 commit comments

Comments
 (0)