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 28e788d commit 844bd5eCopy full SHA for 844bd5e
src/acl-check.js
@@ -45,6 +45,8 @@ function accessDenied (kb, doc, directory, aclDoc, agent, modesRequired, origin,
45
}
46
47
async function getTrustedModesForOrigin (kb, doc, directory, aclDoc, origin, fetch) {
48
+ // FIXME: this is duplicate code from the modesAllowed function, will refactor,
49
+ // see https://github.com/solid/acl-check/issues/22
50
var auths
51
if (!directory) { // Normal case, ACL for a file
52
auths = kb.each(null, ACL('accessTo'), doc, aclDoc)
0 commit comments