Skip to content

Commit 0ae0505

Browse files
kjetilkrubensworks
authored andcommitted
If we have a resource which is an ACL file right on the container, say so
1 parent c9499e7 commit 0ae0505

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

lib/acl-checker.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,9 @@ class ACLChecker {
107107
isContainer = true
108108
reject(err)
109109
} else {
110+
if (resource.endsWith('/' + this.suffix)) {
111+
isContainer = true
112+
}
110113
const relative = resource.replace(acl.replace(/[^/]+$/, ''), './')
111114
debug(`Using ACL ${acl} for ${relative}`)
112115
resolve({ acl, graph, isContainer })

0 commit comments

Comments
 (0)