Field-level permissions
Field-level rules refine an entity permission: for a given role, some fields can be hidden (never sent to that role) or read-only (visible but not changeable). They are part of the same rule you edit in the data permissions matrix.
Field-level permissions
Field-level rules refine an entity permission: for a given role, some fields can be hidden (never sent to that role) or read-only (visible but not changeable). They are part of the same rule you edit in the data permissions matrix.
When to use
- Hidden: internal notes, margins, cost prices, staff-only comments on records customers can see.
- Read-only: the owner email of a customer's record, an amount staff set but customers must not edit, a status that only workflows should change.
How to set field rules
- Open Users → Roles & permissions → Data permissions and click the cell for the role and entity.
- Select at least one operation; the field sections appear below.
- Under Hidden fields, tick the fields the role must never receive.
- Under Read-only fields (shown when the rule includes Create or Edit), tick the fields the role may see but not change. A hidden field cannot also be read-only.
- Click Save access. The cell shows an eye icon for hidden fields and a lock for read-only ones.
Customer × Jobs View, Edit · Only their own (Customer Email) Hidden: Internal Notes, Cost Read-only: Customer Email, Status, Price
How the server applies them
- Hidden fields are stripped from every record the role reads — in tables, detail views, bindings, exports and action results. Templates that reference them render empty for that role.
- Read-only fields are dropped from writes: if a customer's form or action tries to set Price, the value is ignored and the rest of the record is saved.
- Full-access roles are never affected.
Field rules in the builder
The builder does not automatically hide the corresponding inputs or columns from the page; a column bound to a hidden field simply shows nothing for that role. For a clean result, also remove the input or column from the pages that role uses, or restrict the component with its Permissions tab.
Common mistakes
- Hiding the owner field used in the record scope. The rule still works (it is evaluated on the server), but forms that pre-fill the field from Current user › email for that role will not see it; prefer making it read-only.
- Expecting read-only to raise an error. The value is silently dropped; the form still reports success.
- Hiding a required field for a role that can create. The role cannot provide it, so creation fails validation unless the field has a default value.
Related
Advanced
hiddenFieldIds and readonlyFieldIds are stored on the permission rule. stripHiddenFields is applied in listRecords, createRecord and updateRecord responses; readonlyKeys filters the input of createRecord and updateRecord before coercion.