Page permissions
Page permissions control who can open each page . There are three settings per page: public, signed-in users, or specific roles.
Page permissions
Page permissions control who can open each page. There are three settings per page: public, signed-in users, or specific roles.
When to use
- Staff-only screens (dashboards, data grids, settings).
- Customer portal pages (signed-in users, or the Customer role).
- Keeping marketing pages public while the rest of the app requires an account.
How to set page access
- Open Users → Roles & permissions and scroll to Page access. Standard and dynamic pages are listed first, then modal and drawer pages, each with its route.
- In Who can open it, choose: - Public — anyone: everyone, including visitors who are not signed in. - Signed-in users: every signed-in role. - Specific roles: tick the roles allowed. Full-access roles are always ticked and cannot be removed. At least one role must stay selected (choose Signed-in users to allow every role).
- Changes save immediately; use Preview as to check them.
The page inspector shows the result as a badge (Public, Signed-in users, Specific roles).
Page Who can open it Roles Home Public — anyone Book a service Public — anyone My bookings Signed-in users Dashboard Specific roles Staff ✓ Admin ✓ (always) Customer ✗ Edit booking (modal) Specific roles Staff ✓
What happens for visitors
- Not signed in → sent to
/loginand returned to the page afterwards. - Signed in, role not allowed → the Access denied screen (or your custom page set in Settings → System pages).
- Pages the visitor cannot open are not shown in the navigation.
- A protected page is never delivered: its components are removed from the configuration the visitor's browser receives.
Page access and data access
Allowing a role to open a page does not grant data access. A Customer who may open My bookings still needs View on Bookings (with an "own records" rule) to see anything. Conversely, protecting a page does not stop a role that has View on an entity from reading those records through another page or component. Set both layers consistently.
Common mistakes
- Authentication off. Any non-public page becomes unreachable; the table warns you.
- Making the sign-up landing page role-restricted. New users of the default role are denied right after signing in; keep the After sign-in page open to that role.
- Protecting system pages. Not found, Access denied and Session expired pages must be public.
- Forgetting modals and drawers. A modal opened from a protected page is still listed separately; protect it too if it shows sensitive data.
Related
Advanced
Page access is requiresAuth plus allowedRoles on the page (update_page command). canAccessPage is evaluated on the server in configForUser, which replaces denied pages by a stub with rootComponentId: "__denied__" and deletes their component subtree before sending the configuration.