Appearance
Roles, Permissions & Users
This is what turns a single-admin app into something a whole team or customer base can use safely: who can see what, who can change what, and what a brand-new sign-up is allowed to do on day one.
1. Add a user profile collection
Role-based access needs a collection that represents "a person", with name, email, and role fields. If your schema doesn't have one yet, the Schema Builder shows a one-click button for it (Add User Profile collection, or Seed User Profile if your schema is empty). This adds a ready-made collection with those fields already in place, so you don't build this one by hand.
You can add your own extra fields to it too (age, department, phone number, anything about a person), the same way you'd add a field to any other collection. Note that name, email, and role themselves can't be deleted or renamed, because the rest of the app depends on them.
2. Open Roles & Permissions
This page lists your roles. Click one to open its page, which has a permissions matrix per collection and a Startup page setting (covered below):
| Column | Meaning |
|---|---|
| Full | Unrestricted access: view, create, update, and delete, all at once |
| View | Can see records in this collection |
| Create | Can add new records |
| Update | Can edit existing records |
| Delete | Can remove records |
There's always an admin role, reserved and unrestricted. It can't be renamed, deleted, or have its permissions unchecked.
Click New Role to add another (support staff, sales, viewer, whatever fits your app), tick the boxes for what it can do in each collection, and click Save & Apply. Changes take effect immediately. You can save from the list or from a role's own page, and unsaved edits are kept as you move between them.
Startup page per role
On a role's page, Startup page picks the collection people with that role see first when they open the app, so a cashier can land on Sales while a manager lands on a dashboard. Leave it blank to use the app-wide Default Collection from App Configuration. The order is: the page a device was last on (in the mobile app), then the role's startup page, then the app default, then the first item in the menu.
The startup page can also be the Home screen, a page of collection tiles you set up under Navigation. It's offered once at least one collection is on it.
A startup page only applies if the role can view that collection (or, for the Home screen, at least one collection on it). If it can't, or the collection was deleted, the app default is used instead, and the role's page warns you.
3. Set the default role for sign-ups
Under the list of roles, the Sign-ups and demo card has a New sign-ups get this role dropdown. Whichever role you pick here is the one automatically assigned to anyone who signs up through the app's own registration form. Nobody chooses their own role, and nothing they submit can override this. The role you pick also shows a Default for sign-ups tag in the list above.
If your app has roles but no default is set, a yellow warning appears on both the Roles & Permissions page and the app dashboard. Don't ignore it: without a default, a new sign-up starts with no role at all, and once roles exist a person with no role can't do anything until you assign one by hand.
Starting from a template?
An app created from a marketplace template gets that template's roles and its default role, as long as the author had set one when they saved the template. The built-in starter templates don't include roles, so set them up yourself.
Let people try the app without signing up
In the same Sign-ups and demo card, the Demo link signs in as dropdown lists No demo and every non-admin role. Pick a role (only one can be the demo) and, once you save, the app's dashboard shows a Demo link under Share & access: the app's web link ending in ?demo=1. Anyone who opens it is signed in as a single shared demo account that has that role, with no email or password, so a visitor can look around before deciding to make an account. Choose No demo and there is no demo link. The role you pick shows a Demo tag in the list.
Only the link starts the demo. The sign-in screen has no demo button, so someone who opens the normal web link signs in or signs up as usual. A person who is already signed in to the app stays in their own account when they open the demo link.
The demo sees what the role can see. The data, collections and fields are exactly what that role is allowed to view. It starts with the data as it is when the visitor opens the link.
Visitors can try changing things, but nothing real changes. If the demo role can add, edit or delete, those buttons show and work on the visitor's own device. Their changes are kept on that device only: they are never sent to your server and nobody else sees them, even though everyone is the same demo account. The Roles page tells you which collections that applies to. Opening the demo link again starts it fresh, and the demo doesn't update live while it is open.
Your server only lets the demo read. Whatever the demo role is given on the Roles page, the rules your server applies to it allow no create, edit or delete. So even someone who skips the app and calls your server directly with the demo account can't change anything. For a plain look-around, give the role view access only and no buttons show.
It never asks for a profile or a password. The account's password is worked out by the server and never shown, and if the account is ever deleted or changed it is put right the next time someone opens the link.
The admin role can't be the demo role.
It counts as one user against your plan's user limit, and it shows in the app's user list as
demo@demo.invalid. HTTP Request and Payment actions never run for the demo account: the server refuses them, so a visitor can't make your server call other services or start a payment. Other actions follow the role as usual, on the visitor's device.If the demo can't start (the app is full, or the link was opened too many times in an hour), the visitor sees the normal sign-in screen with the reason.
4. Manage individual users
The Users page lists everyone who has signed up. From here you can:
- Change anyone's role at any time, directly from the dropdown in their row.
- Add a user yourself: click Add User, enter their email, name, and role (plus any extra profile fields you've added). A random temporary password is generated and shown once, ready to copy and send to them. Every account gets its own, so no two share a password.
- Reset a forgotten password: click the reset button at the end of someone's row and confirm. A new temporary password is shown once, to pass on to them.
Choosing their own password
A temporary password is only meant to get someone in the door. The first time a person signs in with one, the app asks them to choose a new password before it opens anything:
- It must be at least 8 characters, typed twice, and different from the temporary one.
- Nothing in the app loads until they've saved it. If they back out, they're signed out again, so the temporary password stays the only way in.
- If they close the app halfway, they just sign in with the temporary password again and are asked again.
The Password column on the Users page shows a Must change badge for anyone still on a temporary password, so you can see who hasn't signed in yet.
A reset works the same way, and it also signs that person out everywhere: any phone or browser they were signed in on stops working until they sign in with the new temporary password. People who sign up through the app's own sign-up screen choose their own password from the start, so they're never asked. Accounts you created before this was added aren't asked either, until you reset them.
Restricting people to their own records
Under View, Update and Delete there's an Own only checkbox on each row. Tick it and that role can only see, change or delete the records they created. A resident sees their own visitor requests, not everyone's.
- Own only on View also limits Update and Delete. You can't change what you can't see, so those two boxes show as ticked and locked.
- Full access is always unrestricted, so Own only doesn't apply when Full is ticked.
- It's enforced by the server, not just hidden in the app: people only ever receive the records they're allowed to see.
Records assigned to someone
"Created by" isn't always the right test: staff often create a record for someone else. When an Own only box is ticked, an Owner identifier dropdown appears under the collection name. Pick a field that points at a person, and "own" also includes every record assigned to them through it:
| Pick this | When |
|---|---|
A reference field straight to your user profile collection, e.g. assigned_to | The record points directly at a person |
A path through another collection, e.g. resident.user | The record points at a resident record, and that has a user reference to the profile |
A path can go up to two steps. Once it's set, a record belongs to whoever it leads to as well as to whoever created it. To hand a record to someone, just set that field on it.
Things to know:
- One identifier per role, per collection, and it has to be a single reference (not a multi-reference).
- Anyone who can edit a record can change who it's assigned to, unless you hide that field from them (see below). There are no read-only fields, only hidden ones.
- Records created by the server on your behalf (imports, webhooks) belong to the app's admin account, so an Own only role only sees them if they're assigned.
- Lookups and counts see only what that person sees. A "next invoice number" or a "must be unique" check over a collection can come out wrong for someone limited to their own records.
- The dropdown lists only fields that can lead to a person. If it says No person field available, add a reference to your user profile collection (or to a collection that has one) first, then reload the page.
Hiding fields from a role
Some fields shouldn't be seen by everyone who can see the record: a salary, an ID number, internal notes. On a role's page, the Hidden fields card lets you pick, per collection, the fields that role can't see.
This is enforced on the server. The value is never sent to that role's devices, so it can't be found in the app's local storage or in the network traffic either. It doesn't show in tables, cards, detail pages, forms or filters. The admin role always sees everything, and the app's own bookkeeping fields (and the profile's role) can't be hidden.
Under each field you hide is a checkbox, still show on their own records. Tick it and the field stays visible on records that person created or that are assigned to them (using the same Owner identifier as above), and is hidden on everyone else's. In lists the column stays, and is simply empty on the records they can't see it for.
Things to know:
- Formulas can't see hidden fields on that role's devices. A computed field that uses a hidden field would be worked out from a blank there, and saved that way when that role edits a record. The page warns you when a hidden field is used in a formula, so hide a field only if nothing computed depends on it (or leave it out of formulas that role triggers).
- Required fields. A role that can create records can't fill in a field it can't see, so hiding a required field from it would block it from creating records. The page warns you.
- The Owner identifier field can't be hidden from the role that uses it, because the device needs it to tell which records are theirs.
- It applies when you click Save & Apply, with no restart. People already using the app lose the field the next time their device checks for changes, and any copy already on their device is removed.
When someone's access changes
Roles are enforced on the server the moment you click Save & Apply. Each person's device then catches up on its own: when the app opens, when it comes back online or to the foreground, and every few minutes while it's open. It isn't instant.
- If their access grew (View newly granted, or Own only turned off) the missing records are fetched.
- If it shrank (View removed, or Own only turned on) the records they can no longer see are removed from their device, including offline.
- Records taken away from them (reassigned to someone else) disappear the same way.
- Their own unsynced changes are never thrown away. If someone has edits waiting to sync in a collection they've lost access to, the server will now refuse them; the app keeps them and shows a warning pointing to Pending sync, so they can review or discard them.
Inviting people vs. open sign-up
In App Configuration, the Allow Registration toggle controls whether people can create their own account from the app's sign-up screen at all. Turn it off for an invite-only app, where every account is created by you from the Users page instead.
