Skip to content
MyAppBuilder
StableGuide

Permissions overview

Permissions decide who can see and do what in your published app. They are built on roles : every signed-in user has one role, visitors who are not signed in are Public , and each rule you set applies to a role.

Permissions overview

Permissions decide who can see and do what in your published app. They are built on roles: every signed-in user has one role, visitors who are not signed in are Public, and each rule you set applies to a role.

There are five layers, from coarse to fine:

LayerQuestion it answersWhere you set it
PageWho can open this page?Users → Roles & permissions → Page access
ComponentWhich roles receive this button, table or section?Inspector → Permissions tab
EntityMay this role view, create, edit or delete these records at all?Users → Roles & permissions → Data permissions
RecordWhich records — all of them, or only their own?Same editor, Which records?
FieldWhich fields are hidden or read-only for this role?Same editor, Hidden fields / Read-only fields

Actions that touch data run on the server with the acting user's permissions, so these rules also govern what buttons and forms can do.

When to use

  • The moment your app has more than one kind of user (staff vs customers).
  • Any customer portal: customers must only see their own records.
  • Public forms: anonymous visitors need Create on one entity and nothing else.

How the defaults work

Without any rule of your own:

  • Owner, Admin have full access to everything (they are full-access roles).
  • Staff can view, create, edit and delete every record of every entity.
  • Viewer can view everything.
  • Customer, Public and your custom roles have no data access at all until you grant some.
  • Every page is public and every component is delivered to everyone who can open its page.

Business components adjust this for you: customer-portal blocks add an "only their own records" rule for the Customer role, and public forms (Booking Form, Service Request) grant Public the right to create.

How to set up permissions, in order

  1. Users → Sign-in: turn on authentication and decide the role for new sign-ups (Authentication overview).
  2. Users → Roles & permissions → role cards: add custom roles if the built-in ones are not enough (Roles).
  3. Data permissions matrix: click each role/entity cell and choose operations, record scope and field rules.
  4. Page access: protect pages by sign-in or role.
  5. Inspector → Permissions: hide specific components from roles where needed.
  6. Preview as each role to check the result, then publish.
Example
Customers (role)  ·  Quotes (entity)
  Operations:   View, Edit
  Which records: Only their own — Customer Email = Current user › email
  Hidden fields: Internal Notes, Margin
  Read-only:     Amount

Hiding is not securing

Hiding a button with a Visibility rule changes what people see, not what they can do. Every rule above is checked on the server before a record, page or component configuration leaves it. Read Security model before relying on visibility rules.

Common mistakes

  • Granting Customer View on an entity without a record scope: every customer sees every customer's records.
  • Protecting a page but not the entity behind it.
  • Forgetting the Public role: a public form needs Public Create; a public listing needs Public View.
  • Giving the sign-up role full access (not allowed) or Staff-level defaults (too much for customers).

Related

Was this helpful?