Managing access
Give people and service accounts app permissions and data roles from the portal's Users & access screens.
The administrator’s guide to Users & access: giving one person an app, giving the same set to many people through an app role, putting people in data roles, and knowing when a change did nothing.
Prerequisite
You need Administer platform (can_admin). Without it, Users & access is not in your
sidebar, and opening it directly shows “Admins only”. Managing data roles also needs Data
admin, which Administer platform does not include. See Data admin.
Find the screens
Users & access sits in the Administration group of the sidebar. It has three tabs, each with a count:
- People lists everyone with an account. Select a person to see what they can open and read.
- App roles shows every app role as a row of the app permission matrix.
- Data roles lists every data role, how many people and nested data roles are in it, and which data roles it is nested in.
The Administration group also holds Identity, where accounts and service accounts live, and Catalog Admin. The whole group appears only for Administer platform.
Every change is written as soon as you make it. There is no save button: the control shows a spinner while the change is saved.
Give one person an app
Find the person
Open People. The directory lists everyone with an account, including people who hold nothing and accounts that can’t sign in, since those are states you act on. Service accounts are not listed here. Use Search by name, email or role to narrow the list.
Each person shows a status: Active, Invited or Can’t sign in. Someone who can’t sign in but still holds access is flagged in amber.
Open their app permissions
Select the person. Their App permissions tab shows two blocks:
- App roles, the app roles they are in, as a multi-select.
- Apps, one row per app with a switch: Pipelines (with separate switches for View pipelines and Run pipelines), Dashboards, SQL editor, Map viewer, Notebooks and Administration.
Flip the switch
Turn on the app’s switch. A switch that is on but cannot be changed comes from an app role or from a higher permission (Run pipelines includes View pipelines, and Administer platform includes all). To take that access away, remove them from the app role, or turn off the higher permission.
Tell them to reload
App permissions are checked on every request, so they don’t need to sign out. Notebooks is the exception: it checks at sign-in, so a new grant applies at their next Notebooks sign-in. See when a change takes effect.
Turning the switch off removes a direct grant.
Give the same set to several people
Use an app role when several people need the same apps. An app role grants apps only: each person still needs data access before they can read anything.
Read the app role matrix
The App roles tab is a table with one row per app role. Its column headers are grouped as Pipelines (View, Run), Apps (Dashboards, SQL, Maps, Notebooks) and Admin. Hover a header for the permission’s full name and description. Each cell is a checkbox in one of three states, keyed above the table:
| Checkbox | Meaning | Clickable |
|---|---|---|
| Checked — Direct grant | The app role grants this permission. | Yes. Clicking removes it. |
| Checked, faint — Included in a higher permission | Implied by another permission the role has: Run includes View, Admin includes everything. | No. Remove the higher permission instead. |
| Empty — No access | Not granted. | Yes. Clicking grants it. |
An app role with no permissions yet is labelled No permissions yet.
Pick the permissions
These are starting points, not built-in roles:
| App role for | Tick | Because |
|---|---|---|
| Analysts who query data | SQL, plus Dashboards or Notebooks as needed | What they can query is a data grant, not this. |
| Engineers who build pipelines | Run, plus Notebooks | Run includes View, so you don’t need both. Editing connections, variables, pools, config and backfills needs Admin. |
| Dashboard builders | Dashboards | Everyone who gets in sees the same charts; a chart on data they cannot read errors for them. |
| People who explore gridded data on a map | Maps | The Map Viewer shows only datasets they can read. |
| Administrators | Admin | Includes the other six. Grant no others: they would be redundant and harder to revoke. |
Create the app role
On the App roles tab, select New app role, type a Name and select Create app role.
The name is turned into an identifier: lowercased, with spaces and hyphens replaced by underscores and
other characters dropped, so Field team becomes field_team, shown as “Field team”. A name that already exists is refused. The
new app role’s page opens.
Give the app role its permissions
On the app role’s page, tick the boxes under App permissions. You can also click the cells in its row on the App roles tab.
Add members
Under Members, select Add member and search for a person or a service account. Service accounts show a Service account badge. Remove a member with the × next to their name.
You can also set a person’s app roles from People: select them and use the App roles multi-select on their App permissions tab.
Deleting an app role asks first: select the bin icon in its row, or Delete app role on its page, then Delete. Everyone in it loses the app permissions it gives; their data roles stay. The app role’s own grants go with it, so creating one with the same name later restores nothing.
Put people in data roles
A data role gives the same data access to everyone in it. What a data role may read or change is granted on the data itself, in the Data Catalog, by picking the data role on a warehouse, namespace or table’s Permissions tab.
The Data roles section below the Data Catalog tree opens the same pages, so this works from the catalog too.
- Create one: on the Data roles tab, select New data role (or + in the Data Catalog), give it a Name and an optional Description, and select Create data role. Its page opens.
- Add members: on the data role’s page, under Members, select Add member and search for people, service accounts and data roles.
- Nest data roles: adding a data role as a member nests it. Everyone in the nested data role gets this data role’s access too. The Data roles tab shows each role’s nesting in Nested in.
- Set one person’s data roles: on People, select the person, open Data permissions, and use the Data roles multi-select. A data role they hold through a nested data role shows which one it comes through; remove them from that one instead.
A data role’s page also shows Data access, the data granted to it as a tree of warehouses, namespaces and tables (read only), and Settings, where you can rename it and change its description.
Deleting a data role asks first, like an app role: everyone in it loses the data access it gives, and their app roles stay. It cannot be undone.
Check what someone can read
On People, select the person and open Data permissions. Data access shows, read only, everything granted to them directly and to every data role they are in, nested data roles included. Grants themselves are made in the Data Catalog.
Data admin
Data admin manages every data role and every data grant. It is separate from Administer platform: a platform administrator is not automatically a Data admin, and needs Data admin to manage data roles and data grants.
Data admin is a switch on a person’s Data permissions tab. Only an existing Data admin can turn it on or off; for anyone else the switch is disabled.
Default roles
Every new person is added to the Default app role and the Default data role. If either has been renamed, a Default badge still marks it. You can change what each grants, and take a person out of either, but you cannot delete them. Service accounts get neither.
Refresh users from your identity provider
The People tab has a sync button that copies everyone’s name, email and kind from your identity provider into the data catalog. This normally happens on its own; use it when a rename or a new account has not come through.
What these screens do not do
- Not data grants on objects. Grants on a warehouse, namespace or table are made on its Permissions tab in the Data Catalog.
- Not pipeline scope. Pipeline permissions are fleet-wide; no grant here changes which pipelines someone sees.
- Not accounts. People and service accounts are added and deactivated in Identity. Deactivating someone there stops them signing in but keeps their app roles, data roles and grants, so reactivating them restores their access as it was. See Create a service account.