File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff 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 ) {
You can’t perform that action at this time.
0 commit comments