Entity permissions
Entity permissions say, for each role and each entity (table), which of the four operations are allowed: View , Create , Edit , Delete . They are the foundation of data security: every read and write — from tables, forms, actions and the data editor of the published app — is chec
Entity permissions
Entity permissions say, for each role and each entity (table), which of the four operations are allowed: View, Create, Edit, Delete. They are the foundation of data security: every read and write — from tables, forms, actions and the data editor of the published app — is checked against them on the server.
When to use
- Right after creating the entities of an app with several kinds of users.
- Before publishing a customer portal or a public form.
- When a role should see but never change something (Viewer-style access).
The permission matrix
Open Users → Roles & permissions → Data permissions. Rows are entities, columns are roles, and each cell shows four letters: R view, C create, U edit, D delete. A letter is highlighted when allowed and struck through when not.
- Full access cells belong to full-access roles; they cannot be edited (turn off Full access on the role card first).
- Dashed cells use the role's default (see below).
- Solid cells have a custom rule.
- Small icons mark extra rules: a person icon for own records only, an eye for hidden fields, a lock for read-only fields.
Defaults when no rule exists: Owner/Admin/Staff all four; Viewer view only; Customer, Public and custom roles nothing.
How to set a rule
- Click the cell for the role and entity (for example Customer × Quotes).
- Under What can they do? toggle View, Create, Edit, Delete. Choosing Create, Edit or Delete also turns on View.
- Under Which records? keep All records, or restrict the scope (see Record-level permissions).
- Optionally pick Hidden fields and Read-only fields (see Field-level permissions).
- Click Save access. The cell turns solid.
To go back to the default, open the cell and click Reset to default. Saving with no operation selected also resets the role to its default (for roles whose default is "no access", it keeps them without access).
Entity Owner Staff Viewer Customer Public Bookings Full access R C U D R R C (own: Email) C Services Full access R C U D R R R Invoices Full access R C U D R R (own: Customer Email) —
What each operation allows
- View — list and open records, use them in bindings, tables, charts, exports from the app.
- Create — add records with forms, Create record actions, uploads in public forms.
- Edit — change records (inline edits, Update record actions, kanban drag).
- Delete — remove records.
Operations only concern the published app's users. Your builder team edits data in the Data section with builder roles instead.
Common mistakes
- Public with View on a private entity. Anyone on the internet can read it.
- Customer with View but no record scope. Every customer sees all records.
- Expecting a rule to apply to a workflow. Workflow steps run with system privileges.
- Relying on components. A role with View can read the entity even if no table is shown; permissions are about data, not screens.
Related
Advanced
A rule is { roleId, entityId, operations[], condition?, hiddenFieldIds?, readonlyFieldIds? } in project.permissionRules, written by the set_permission command (empty operations deletes the rule). entityAccess() returns the effective access; it is called by listRecords, createRecord, updateRecord and deleteRecord on every request.