Lattice Grid Buy a licence

The grid (core) ยท console.warn

{message}

Printed by The grid (core), prefixed [lattice], since 1.103.2.

Warnings reference › views:forbidden:*:*

Identifier
views:forbidden:*:*
Raised by
The grid (core)
Since
1.103.2

What happened

A host called rename, save (overwrite), remove or unshare on a shared view that views.user does not own and that views.isAdmin does not admit. The id after forbidden: names the action and the view. The store threw a ViewPermissionError (code views/forbidden) and left the view unchanged; this is the matching once-per-action warning for a host's own button reaching the same store method directly.

The fix

Check ViewStore#canEdit(view) before offering the action, or catch ViewPermissionError and show its message. The panel already does both.

Reference

Covered in full at the API reference.