The grid (core) ยท console.warn
the permissions callback threw for column "{colId}"; that column and any later failure were treated as "{closed}". Permissions fail closed, so a broken callback removes columns rather than exposing them. This is reported once.
Printed by The grid (core), prefixed [lattice], since 1.0.1.
Warnings reference › perm*
- Identifier
perm*- Raised by
- The grid (core)
- Since
- 1.0.1
What happened
The same fault as permissions.throw:*, reported by the permissions *model* rather than the default error reporter - and deliberately once per model rather than once per column: a callback that throws throws for every column, and a fifty-column grid must not produce fifty stack traces for one broken function. The key is generated per model instance (perm followed by a short sequence), which is why it appears in the catalogue as a shape rather than a fixed string. The cost of reporting once is that a callback which only throws for a later column says nothing after the first.
The fix
The error is attached to the console line, and the first report names its column. Fix the callback; every column it throws for is hidden.
Reference
Covered in full at the API reference.