Skip to content

Commit c3cc987

Browse files
megothrubensworks
authored andcommitted
Back in with the #-splitter
1 parent 53f3125 commit c3cc987

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

lib/acl-checker.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -161,12 +161,12 @@ class ACLChecker {
161161
console.log('>>>> GRAPH WITHOUT GROUPS', returnAcl.graph.length)
162162
const groupUrls = returnAcl.graph
163163
.statementsMatching(null, ACL('agentGroup'), null)
164-
.map(node => node.object.value)
164+
.map(node => node.object.value.split('#')[0])
165165
await Promise.all(groupUrls.map(groupUrl => {
166166
this.requests[groupUrl] = this.requests[groupUrl] || this.fetch(groupUrl, returnAcl.graph)
167167
return this.requests[groupUrl]
168168
}))
169-
console.log('>>>> GRAPH WITH GROUPS', returnAcl.graph.length)
169+
console.log('>>>> GRAPH WITH GROUPS', returnAcl.graph)
170170

171171
return returnAcl
172172
// const nearestACL = possibleACLs.reduce((prevACL, acl) => {

test/integration/acl-oidc-test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -581,7 +581,7 @@ describe('ACL with WebID+OIDC over HTTP', function () {
581581
// done()
582582
// })
583583
// })
584-
it.only('user1 should be able to access test directory', function (done) {
584+
it('user1 should be able to access test directory', function (done) {
585585
var options = createOptions('/group/test-folder/', 'user1')
586586

587587
request.head(options, function (error, response, body) {

0 commit comments

Comments
 (0)