chat-pane 2.4.25-60fa6b4d → 2.4.25-9daa13cc
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/longChatPane.js +4 -4
- package/dist/longChatPane.js.map +1 -1
- package/dist/main.js +4 -4
- package/dist/main.js.map +1 -1
- package/lib/longChatPane.js +4 -4
- package/lib/longChatPane.js.map +1 -1
- package/package.json +1 -1
- package/src/longChatPane.js +4 -4
package/dist/longChatPane.js
CHANGED
|
@@ -72909,11 +72909,11 @@ const longChatPane = {
|
|
|
72909
72909
|
kb.add(newInstance, ns.dc('author'), newPaneOptions.me, newChatDoc)
|
|
72910
72910
|
}
|
|
72911
72911
|
|
|
72912
|
-
const aclBody = (me, AppendWrite) => `
|
|
72912
|
+
const aclBody = (me, resource, AppendWrite) => `
|
|
72913
72913
|
@prefix : <#>.
|
|
72914
72914
|
@prefix acl: <http://www.w3.org/ns/auth/acl#>.
|
|
72915
72915
|
@prefix foaf: <http://xmlns.com/foaf/0.1/>.
|
|
72916
|
-
@prefix lon:
|
|
72916
|
+
@prefix lon: <./${resource}>.
|
|
72917
72917
|
|
|
72918
72918
|
:ControlReadWrite
|
|
72919
72919
|
a acl:Authorization;
|
|
@@ -72956,11 +72956,11 @@ const longChatPane = {
|
|
|
72956
72956
|
return new Promise((resolve, reject) => {
|
|
72957
72957
|
if (newPaneOptions.me) {
|
|
72958
72958
|
kb.fetcher.webOperation('PUT', newPaneOptions.newBase + '.acl', {
|
|
72959
|
-
data: aclBody(newPaneOptions.me, 'Append'),
|
|
72959
|
+
data: aclBody(newPaneOptions.me, '', 'Append'),
|
|
72960
72960
|
contentType: 'text/turtle'
|
|
72961
72961
|
})
|
|
72962
72962
|
kb.fetcher.webOperation('PUT', newPaneOptions.newBase + 'index.ttl.acl', {
|
|
72963
|
-
data: aclBody(newPaneOptions.me, 'Write'),
|
|
72963
|
+
data: aclBody(newPaneOptions.me, 'index.ttl', 'Write'),
|
|
72964
72964
|
contentType: 'text/turtle'
|
|
72965
72965
|
})
|
|
72966
72966
|
}
|