Skip to content
MyAppBuilder
StableGuide

Role-based navigation

Different roles see different apps: a customer gets the portal pages, staff get the work pages, visitors who are not signed in get the public ones. The Storyboard lets you look at the map as a role and warns when navigation and access disagree — for example a public button that l

Different roles see different apps: a customer gets the portal pages, staff get the work pages, visitors who are not signed in get the public ones. The Storyboard lets you look at the map as a role and warns when navigation and access disagree — for example a public button that leads to a staff-only page. Both page access and component permissions are enforced on the server, so the map shows exactly what each role receives.

When to use

After setting page access or component permissions, and before publishing an app with customers, staff and public visitors. Also when a user reports "I can see a button but it does nothing".

View as a role

Pick a role in the toolbar's View as. The map is rebuilt for that role:

  • Pages the role cannot open disappear, and so do the edges to and from them.
  • Components restricted to other roles are ignored, so their navigations disappear too.
  • Reachability, dead ends and warnings are recomputed for that role.
  • A chip in the corner reads Viewing as Customer. Choose Everyone to return to the builder view.

Filter → Roles (can open) is different: it hides pages a role cannot open but keeps everything else.

Permission mismatch

An edge is a permission mismatch when some role may open the source page and see the source component, but may not open the target page. The edge turns amber with a permission mismatch badge, the source page gets the warning Links to a page some visitors cannot open, and Validate flow lists it as a warning: Permission mismatch: "View quote" leads to Quote detail some visitors cannot open.

Two ways to fix it:

  1. Restrict the source component: select the button in Build (click the component in the edge inspector), open Permissions and tick only the roles that may open the target. The edge disappears for the other roles.
  2. Widen the target page's access in page settings → Access.

Implicit edges (the app menu, the sign-in flow) never mismatch, because the menu is already filtered per visitor at runtime.

The app menu and the Navigation Menu component only list pages the current visitor may open, so you never need conditions to hide menu entries. In View as, the dotted menu edges reflect this filtering.

Journeys by role

Switch to Journeys to see the main path each role is likely to follow from its entry point (the sign-in screen for signed-in roles, the home page for Public). See User journeys.

Example

Example
View as: Customer
  Sign in ──▶ Portal dashboard ──▶ My quotes ──▶ Quote approval
  (Staff pages, Dashboard KPIs and the Jobs table are absent)

View as: Public
  Home ──▶ Book  (only public pages; "Sign in" button leads to the Sign in node)

Common mistakes

  • Hiding a page from the menu and calling it protected: Show in navigation is cosmetic; set Access.
  • Fixing a mismatch with a visibility rule: visibility is a display rule; use Permissions so the component is not sent at all.
  • Testing only as Owner: full-access roles see everything; always check Customer and Public.

Related

Was this helpful?