Skip to content

Commit 4df5c9e

Browse files
committed
Small fixes to be able to create ACL files for folders
1 parent 71c7b45 commit 4df5c9e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/acl-control.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -562,11 +562,11 @@ UI.aclControl.ACLControlBox5 = function (subject, dom, noun, kb, callback) {
562562
editPlease.textContent = 'Set specific sharing\nfor this ' + noun
563563
editPlease.style.cssText = bigButtonStyle
564564
editPlease.addEventListener('click', async function (event) {
565-
kb2.forEach(st => {
565+
kb2.statements.forEach(st => {
566566
kb.add(st.subject, st.predicate, st.object, targetACLDoc)
567567
})
568568
try {
569-
fetcher.putBack(targetACLDoc)
569+
kb.fetcher.putBack(targetACLDoc)
570570
} catch (e) {
571571
let msg = ' Error writing back access control file! ' + e
572572
console.error(msg)

0 commit comments

Comments
 (0)