Skip to content

This pattern is for builders whose application serves several kinds of people — customers and staff, requesters and approvers, HR and the public. Read it after My First Application. By the end you will know how to give each audience a screen that shows what it needs, and how that relates to what people are actually allowed to access.

One “everything” screen serves nobody well. Customers see staff fields; staff wade through other teams’ records; managers cannot find their figures. Builders then try to fix it by hiding columns or by giving people more access “so they can see it” — which mixes up two different things: what a screen shows and what a person may access.

Whenever two groups of people use the same entity for different purposes — which is almost always. Start the design from the audiences: list who uses the entity, what each needs to see and do, and give each its own view.

  • Access is granted per resource: the system, a module, an entity, a view, a page, a report or a service. There is no per-record grant.
  • Grants only add up: a person has everything given to them directly and through their groups, roles and org unit. There is no “deny”.
  • Anyone with Edit on an entity or its module can browse all its records in Administration. Keep entity and module Edit for builders and administrators; give everyone else views, pages, reports and services.
  • A service is different: its Audience decides who can submit it; requesters see their own requests in Outbox, step owners see what reaches them in Inbox, and the service’s Watchers see all its requests in Watching.

See Permissions & access.

  1. One view per audience. Open the entity: Administration › Applications › Data Entities, the entity, the Views tab, New View. Name it for its audience and purpose — Incoming Requests rather than View 2.
  2. Narrow what it lists. Under Type & source, choose a saved Query — for example Created by = @me for “my records”, or a team or status query. See Queries: recipes.
  3. Choose its fields. Add to Fields only what this audience needs, then design the list, details and forms with them.
  4. Choose what it may do. Turn on only the operations this audience needs: Creating new entries, Editing entries, Archive entries.
  5. Share it. Under Access Permission, choose Anonymous, Authenticated, or name the users and groups. Prefer groups over named people. Then Publish the view.
  6. Adapt the form to the step. On an entity with a workflow, set each field’s View Option — Hidden, Locked, Editable, Mandatory — per step, under the step’s Requirements. See Control the fields at each step.
  7. Adapt fields to the record. Use Hide Field and Lock Field with a Conditional expression for rules that depend on the record’s values. See Hide a field.
  8. Protect personal data. Mark fields such as salary or ID numbers sensitive; only people granted them see the value.
  9. Send people to their screen. With redirection rules, a view can send managers to a team view and everyone else to My requests.

Worked example: Customer Support and Recruitment

Section titled “Worked example: Customer Support and Recruitment”

Customer Support builds two views on Support Tickets (Build the views):

ViewAudienceShows and allows
Ticket RequestEvery signed-in user (Authenticated)Open a ticket, follow it, discuss it
Incoming RequestsDesk Agent, Representative One, Support Manager (or the Technical Support Office group)Work on tickets, edit Ticket status, Assigned to, End date and Solution, see the status chart

Which workflow buttons each person sees depends on who owns the ticket’s current step, not on the view — and the step Requirements decide which fields each owner may change.

To keep the tutorial short, Ticket Request lists every ticket to every signed-in user. For a real deployment, give it a saved query such as Created by = @me, so each customer’s list holds only their own tickets.

Recruitment builds two views on Jobs (Building the Jobs views):

ViewAudienceShows and allows
Available jobsAnyone, without signing in (Anonymous)A timeline of open vacancies, from the query Open jobs; nothing to edit
All jobsThe HR and IT groupsEvery job; create and edit

The public sees only open vacancies because the view’s source is a query; staff manage all jobs through a view shared with their groups — nobody needs Edit on the Jobs entity itself to do their work.

  • One “everything” view with columns hidden by styling. The data is still in the screen. Build a view per audience with only the fields it needs.
  • Giving Edit on the entity so people can see records. That opens every record in Administration. Share a view instead.
  • Treating a view’s query as the access design. A query decides what a screen lists; access is granted per resource. Design the grants first — who may open which views, pages, reports and services — then shape the screens.
  • Granting to named people. It is hard to review later. Grant to groups and roles.
  • Expecting a grant to take access away. There is no “deny”. Remove the grant that gives the access, and check the person’s groups and roles.

Platform 1.10.0 · Backend 1.11.0-alpha.11 · Frontend 1.11.0-alpha.6 · Mobile 1.10.2 · Chart 1.11.8 · Gateway 2.6.11 · MCP 0.2.0 · Grafana DS 1.2.0Docs build 2026-11-27