Skip to content

Commit

Permalink
Merge branch '5.7.9-beta' of https://github.com/solid/node-solid-server
Browse files Browse the repository at this point in the history
… into 5.7.9-beta
  • Loading branch information
bourgeoa committed Jan 17, 2024
2 parents fbd30b0 + 897207c commit 5a42a14
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions 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 Expand Up @@ -170,7 +170,7 @@ class ACLChecker {
return `${parts.join('/')}/`
}

// Gets the ACL's that applies to the resource
// Gets any ACLs that apply to the resource
// DELETE uses docAcl when docAcl is parent to the resource
// or docAcl and parentAcl when docAcl is the ACL of the Resource
async getNearestACL (method) {
Expand Down

0 comments on commit 5a42a14

Please sign in to comment.