Make GridEditor not editable when this.mayEdit is false
Needs to hide all buttons that edit things, add cells, context menus, etc.
You can simulate the non-editable state by commenting out these lines (365-374) in GridEditor.vue
:
if (this.data && this.data.grid) {
try {
const acl = await this.$store.dispatch('acl/isAllowed',
{ id: this.data.grid.id, permission: 'get' })
this.mayEdit = !!(acl || {}).get
}
catch (err) {
this.$handleError(err)
}
}