Commit e2b4eaeb authored by A. Koch's avatar A. Koch

create griddle acl entries for digitanz group

parent 2f567db2
Pipeline #1353 failed with stages
in 43 seconds
......@@ -72,7 +72,7 @@
}
if (favorite) {
await this.$store.dispatch('annotations/delete', favorite.uuid)
await this.$store.dispatch('acl/remove', {uuid: favorite.uuid, role: 'public', permission: 'get'})
await this.$store.dispatch('acl/remove', {uuid: favorite.uuid, role: 'digitanz', permission: 'get'})
}
else {
const payload = {
......@@ -91,7 +91,7 @@
}
const fav = await this.$store.dispatch('annotations/post', payload)
if (fav) {
await this.$store.dispatch('acl/set', {uuid: fav.uuid, role: 'public', permissions: ['get']})
await this.$store.dispatch('acl/set', {uuid: fav.uuid, role: 'digitanz', permissions: ['get']})
}
await this.$store.dispatch('logging/log', { action: 'griddle_sequence_favourite_set', message })
}
......@@ -143,7 +143,7 @@
})
if (favorite) {
await this.$store.dispatch('annotations/delete', favorite.uuid)
await this.$store.dispatch('acl/remove', {uuid: favorite.uuid, role: 'public', permission: 'get'})
await this.$store.dispatch('acl/remove', {uuid: favorite.uuid, role: 'digitanz', permission: 'get'})
}
await this.$store.dispatch('maps/delete', item.target.id.split('/').pop())
this.$q.loading.hide()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment