Closed Zelzahn closed 2 months ago
Fixes #12
Some caveats are provided inside index-file.ts, about functionality that is currently missing.
index-file.ts
I did the following flow to test it all:
await getOrCreateIndex(store.session, pods[0].pod).then((index) => addPermissions(store.session, index, ["https://css12.onto-deside.ilabt.imec.be/osoc1/README"], true, [Permission.Read, Permission.Write]))
If there's no index file, one is created, the same applies for the ACL of the resource for which we want to change the permissions.
Fixes #12
Some caveats are provided inside
index-file.ts
, about functionality that is currently missing.I did the following flow to test it all:
await getOrCreateIndex(store.session, pods[0].pod).then((index) => addPermissions(store.session, index, ["https://css12.onto-deside.ilabt.imec.be/osoc1/README"], true, [Permission.Read, Permission.Write]))
inside LOAMAIf there's no index file, one is created, the same applies for the ACL of the resource for which we want to change the permissions.