We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e03b2f3 commit 5e62f8cCopy full SHA for 5e62f8c
lib/acl-checker.js
@@ -113,9 +113,8 @@ class ACLChecker {
113
if (!returnAcl) {
114
throw new HTTPError(500, `No ACL found for ${resource}, searched in \n- ${acls.join('\n- ')}`)
115
}
116
- const groupUrls = returnAcl.graph
117
- .statementsMatching(null, ACL('agentGroup'), null)
118
- .map(node => node.object.value.split('#')[0])
+ const groupNodes = returnAcl.graph.statementsMatching(null, ACL('agentGroup'), null)
+ const groupUrls = groupNodes.map(node => node.object.value.split('#')[0])
119
await Promise.all(groupUrls.map(groupUrl => {
120
this.requests[groupUrl] = this.requests[groupUrl] || this.fetch(groupUrl, returnAcl.graph)
121
return this.requests[groupUrl]
0 commit comments