Skip to main content

Roles, Groups and Permissions

Overview​

Roles decide what a person can open and do in DataDios. Under Manage, tenant admins work with four things:

  • Permissions: the fixed list of things a person can be allowed (or denied) to do.
  • Roles: a named set of permissions, such as Data analyst.
  • Groups: a set of users who all get one role together.
  • Users: each user has a role, shown in the Role column.
Roles may not be switched on yet

A new tenant starts with roles on by default (an on-prem install can start new tenants in Shadow with IAM_NEW_TENANT_ROLES_MODE). A tenant made on an older DataDios version keeps its setting: until your DataDios administrator switches roles on for it, you can set up roles, groups and user roles, but nothing changes for anyone. Access still follows each user's access tier. The Roles and Groups screens show a note while this is the case: "Roles are not switched on for this tenant yet. You can set them up now; they take effect once they are switched on."

A platform operator switches roles on, or to a trial mode, per tenant under Manage → Configuration → IAM.

How a person's access is decided​

  1. A person gets the permissions of their own role.
  2. They also get the permissions of the role of every group they belong to.
  3. A deny permission always wins. If any of their roles holds deny-data-read, data reads are refused even if another role allows them.
  4. A user with the Admin access tier always has the Tenant admin role, which allows everything a tenant admin can do.
  5. A Normal user with no role is a Member, which keeps the access Normal users had before roles existed.
  6. A service account gets only what its owner also holds, and its owner's denies apply to it too; see Service Accounts and API Keys.

Users: Role, Access tier, Change role​

On Manage → Users:

  • Role shows each user's role.
  • Access tier is the older Admin / Normal level. It is still used, and an Admin's role always follows it.
  • Add user has a Role field for Normal users. If roles cannot be loaded, the user is added as a Member.
  • Change role for <user> (row action) opens a dialog to pick another role. It is offered for Normal users and service accounts, not Admin or Privileged users, because their role comes from the access tier. Choosing the default option gives a Normal user the Member role again, and a service account the Service account role.

Only roles marked as available can be picked. The server checks the role again on save and shows its reason if it refuses.

A user whose role comes from a group mapping shows · mapped next to the role, and Change role is locked for them: change the mapping instead.

For Normal users and service accounts, you can also change the role on the user's own page: click the user's name and use Role on the Profile card. The same page lists the permissions of the user's role under Effective policies. See People and Source Accounts.

Roles​

Open Manage → Roles. The page has three parts: Platform roles, Tenant built-in roles (grouped as Governance & security, Data builders, Data consumers and Specialty) and Tenant custom roles. The header counts the total, platform, tenant built-in and custom roles, and the permissions available.

ColumnMeaning
RoleName and description, with the role id under it. Tags show Built-in, Platform or Not yet available (the role exists but cannot be given to users or groups yet)
PermissionsOne chip per permission it holds, or "—" if none
Blast radiusHow many users have it as their role. Shows "—" if the count could not be read

Custom roles are listed 25 at a time. The other tables always show every role.

Create a custom role​

  1. Click Create role.
  2. Enter a Name and, optionally, a Description.
  3. Tick the permissions the role should hold.
  4. Click Create role.

A custom role is exactly the permissions you tick. Role names must be unique in your tenant.

Fork a role​

Use Fork <role> to a custom role to copy a role and its permissions as a starting point. The copy is named "<role> (custom)"; change it as needed, then click Create custom role.

Edit a role​

Click Edit <role>. The dialog tells you how many users have the role directly. Members of groups that use the role are also affected.

  • A built-in role keeps its name. You can change its permissions, and the change applies to your tenant only. You can add or remove any of its permissions that a tenant role may hold. To keep the original, fork it instead.
  • A custom role can also be renamed.
  • Tenant admin and the platform roles cannot be edited.

Delete a custom role​

Click Delete <role> and confirm. Users with the role fall back to Member, service accounts fall back to the Service account role, and groups that used it lose their role. Built-in roles cannot be deleted.

What a tenant role can never hold​

Platform-level permissions (admin-full-access and tenant-admin-platform) are not offered when you edit a role.

Permissions​

Open Manage → Permissions for the list every role is built from. It is read-only. The header counts the permissions, how many allow and how many deny, and how many are orphaned: held by no role except the admin role, which holds every allow permission. Tenant admins see in no role but admin in place of orphaned, because platform roles are hidden from them.

  • Permission: name and description.
  • Effect: Allow or Deny. A deny permission wins over any allow the same person holds.
  • Scope: the actions the permission covers. Not enforced yet means the permission exists but nothing checks it yet.
  • Used by: the roles that include it. Shows "Roles unavailable" if the roles could not be read.
  • Principals: everyone who holds it, through their own role or a group's role, counted once. Under the count is the split, for example 9 by own role, 2 through groups: Analysts.

Groups​

Open Manage → Groups. Each row shows the group with its source (Local for groups created here, or Entra), the first two members by name and how many more, and the role it confers.

Create a group​

  1. Click New group.
  2. Enter a Name and, optionally, a Description.
  3. Pick a role under Confers role if the group should give one. Everyone in the group then also gets that role's permissions.
  4. For a local group, under Members, tick the people to add and untick the ones to remove. The list shows the current members first, then 50 other people; type in Filter people to find anyone else. Someone you untick stays in the list until you close the dialog, so you can tick them again. A group can have at most 1,000 members, and only the first 100 current members are listed by name; the rest are kept but not shown.
  5. Click Create group.

A group can take its members from a group in your company's Microsoft Entra ID (formerly Azure AD). Each time someone signs in with Sign in with Microsoft, DataDios adds them to the linked groups they belong to in Entra and removes them from the rest. They get those groups' roles. Changes in Entra apply at the person's next sign-in.

The DataDios sign-in app must be set to send the groups assigned to it. If linked groups stay empty after people sign in, contact support. First, in the Microsoft Entra admin center, open Enterprise applications, then the DataDios app, then Users and groups, and assign the groups you want to use. This needs Entra ID P1 or P2, or a Microsoft 365 plan that includes one of them. Groups that are not assigned to the app are not sent.

Then, in DataDios:

  1. Create or edit a group, and tick Linked to an Entra (Azure AD) group.
  2. If your directory is linked under Group mappings, pick the group under Entra group; the name is copied from Entra. Otherwise, or after clicking Paste an Object ID instead, paste the group's Object ID from Entra into Entra group object ID. It must be the Object ID, not the group's name.
  3. Pick a role under Confers role and save.

Linking only works for people whose Microsoft directory is linked to their tenant (see Who signs in to which tenant). People who sign in with a password or with Google are never added to a linked group.

The members of a linked group come only from Entra, so you can't add or remove them in DataDios. Linking a group, unlinking it, or changing its Object ID removes all its current members. The editor warns you before you save. People are added again at their next sign-in. After unlinking, the group is empty until you add members by hand.

If a person is in more than 200 groups, Microsoft doesn't send the list, and they get no roles from linked groups.

Edit or delete a group​

Click Edit <group>, change the details or members, and click Save changes. Click Delete <group> to remove it; its members keep their own roles.

For a local group, the editor loads every member before Save changes is enabled, because saving replaces the whole member list. If two admins edit the same group at the same time, the second save replaces the first admin's changes, so re-open the group before editing it.

A group is saved in two steps: the group first, then its members. If the second step fails, the message says the group was saved but its members were not, and you can retry from the same dialog.

Group mappings​

Group mappings give each person who signs in with Sign in with Microsoft one role, from the names of their Entra groups. Open Manage → Identity & access → Group mappings. There is one section for each company directory linked to your tenant. Google sign-in sections are shown but not supported yet.

If the page says "No company directory is mapped to this tenant yet", your company's Microsoft directory is not linked to your tenant. It is linked when people from it sign in with Microsoft, or by support. Until then the page has nothing to show.

Microsoft sends DataDios only the IDs of a person's groups, not their names, so DataDios keeps a copy of your directory's groups, read through a Microsoft Entra ID data source.

Set up​

  1. Assign the groups you want to use to the DataDios app, as under Link a group to an Entra group.
  2. Create a Microsoft Entra ID data source for the same directory.
  3. On Group mappings, pick that data source in the section and click Link. Only data sources you created are offered. DataDios copies the directory's groups at once, then every 6 hours. Click Refresh now to copy them again, for example after adding or renaming a group in Entra.

The copy is read as the admin who linked the data source. If that account is removed, the copy fails until another admin links a data source again.

Rules​

Click Add mapping at the top and fill in:

  • Identity provider: the section the rule is added to.
  • Priority: a whole number from 1 to 9999, unique in the section. A lower number is checked first.
  • Match and Pattern: All (every group), Exact (the name equals the pattern), Starts with, or Regex (a Python regular expression, found anywhere in the name; use ^ and $ to match the whole name). A pattern can be up to 200 characters. Matching is case-sensitive.
  • Maps to role: the role to give. Tenant admin and Platform admin can't be given by a rule; they come from the access tier.
  • Note (optional) and Enabled.

The dialog lists the directory's groups the pattern matches now. Untick a group to leave it out of this rule. A group already matched by a rule with a lower priority number is marked, because that rule wins for it.

A regular expression that takes too long to run over your directory's groups can't be saved, and if one takes too long at sign-in, the person's role stays as it was.

How a person's role is chosen​

At each Microsoft sign-in, DataDios saves the person's group IDs and checks the enabled rules in priority order. The first rule that matches one of their group names gives them its role. If no rule matches, they get the Member role.

warning

Adding the first rule applies at once. Everyone who has signed in with Microsoft and matches no rule is set to Member, replacing any role set by hand. Turning every rule off does the same.

  • Adding, changing, turning off or deleting a rule applies at once to everyone whose groups DataDios has from an earlier Microsoft sign-in. A person's own group changes in Entra apply at their next sign-in.
  • If a person is in more than 200 groups, Microsoft doesn't send the list, and they get the Member role.
  • While a mapping sets a person's role, it can't be changed on Manage → Users.
  • Deleting the last rule of a section leaves everyone's role as it is and lets admins change it by hand again. Rules added later apply at once again.
  • Unlink also leaves everyone's role as it is and lets admins change it by hand again. The rules are kept and apply again, at once, when a directory is linked and its first copy loads, so roles set by hand in between are overwritten.
  • A role used by a rule can't be deleted until the rule is changed.
  • If a copy of the groups fails, for example because the data source's secret expired, the section shows the error and DataDios keeps using the last good copy.
  • Group mappings set a person's own role. Their Admin or Normal access tier is not changed, and an Admin keeps the Tenant admin role.

What a role changes in the app​

Once roles are switched on, DataDios hides what a person's role does not allow, so they are not offered an action that would be refused:

  • Pages they cannot open are left out of the sidebar. Opening one from a link takes them to Home with the message "You don't have access to …".
  • Buttons for actions they cannot take are hidden. Switches they cannot change stay visible but are turned off, with the hint "Needs permission to edit alerts".
  • Forms they can read but not change open read-only.
AreaWithout the right to edit (or run), a person cannot
DashboardsCreate or delete a dashboard, move, resize or remove widgets, edit tags, Email now, or manage email schedules
AlertsCreate, edit or delete rules and channels, or switch them on and off
Data ExplorerAdd, import, edit, copy, archive or delete connections and items, load data, or start and stop instances
SmartDiffCreate, copy, rename or delete a diff. Diffs open read-only. Run diff also needs the right to run workflows
Data QualityAdd, save, schedule, delete or run a rule. Rules open read-only
Lineage and CatalogCreate or change lineage workflows, or create, edit or delete catalog entities
S2P, P2P and Metadata syncCreate a workflow
SchedulerCreate, pause, resume, duplicate, delete or edit a schedule. Run now needs the right to run workflows
AnywhereAdd to dashboard needs the right to edit dashboards, and Create alert the right to edit alerts
AIWithout AI use, the Ask DioS assistant and the AI insights sections are not shown

Share buttons stay for everyone: a person can share what they own, whatever their role.

FinOps roles and Budgets​

Budgets are alert rules, so two cost permissions also open the alert screens:

PermissionBuilt-in roleWhat it allows
cost-readFinOps analystSee budgets, the alert bell and their own alerts. Budgets open read-only
cost-manageFinOps managerCreate, edit and delete budgets, and manage notification channels (a budget needs one to send to)

Creating, editing or deleting any other kind of alert (data quality, schema drift, workload…) also needs the permission to run queries, which the FinOps roles do not have; the app answers "This alert type needs permission to run queries". Neither role gives access to data sources.

The server checks every action again, so hiding a button is a convenience, not the protection. After a role change, the app can take up to 5 minutes to show it; the server applies it within about 30 seconds.

Who can use these screens​

These screens are for tenant admins.

Some pages are limited further: Logs is for tenant admins of the default tenant, and Backups is for platform operators only.

Tenant admins view (platform admin)​

On Manage → Identity & access → Users, the platform admin has a switch beside the search box: This tenant and Tenant admins. Nobody else sees the switch, except the built-in DATADIOS@DD.COM account.

The platform admin is an Admin or Privileged user of the platform tenant, the tenant DataDios itself is run from. The built-in DATADIOS@DD.COM account of the default tenant has the same power. Only platform admins, including the built-in account, see this switch. An Admin of a customer tenant is never a platform admin. A Privileged user of a customer tenant whose roles are not switched on can use other platform pages, but does not get this view; with roles on they are a tenant admin only. Some older pages say "Privileged user" for a platform admin. The Performance Analyzer pages use a wider meaning of platform admin: they also count a Privileged user of the default tenant and of a tenant whose roles are not switched on, because those users can open the editors. Only the Tenant admins view is limited to the people above.

This tenant is the usual list of your own tenant's users. Tenant admins lists the Admin and Privileged users of every other tenant, so that the platform admin can help a tenant whose admins are locked out. Built-in system accounts and the admins of your own tenant are not in it.

ColumnWhat it shows
NameThe name, with the email under it. Click the name to open that admin's account page
TenantThe tenant the user belongs to
Access tierAdmin or Privileged
RoleThe user's role
StatusACTIVE or DISABLED (an account disabled from an older screen can read INACTIVE)

The view is part of the page address (/manage/users?view=tenant-admins), so the browser's Back button returns to it. The search box searches this list while it is shown. Rows are sorted by tenant and listed 25 at a time; pick 50 or 100 per page under the table. With nothing to show, the table reads "No tenant admins in other tenants." If the list cannot be loaded, its error is shown with Retry.

What the platform admin can do​

Each row offers only these actions:

ActionWhat it doesLimits
Disable <user> / Enable <user>Disable asks "Disable <user> in tenant <tenant>?" first; the prompt stays open until the server answers. A disabled user cannot sign in until an admin enables the account again. Enable applies at onceA tenant's last active admin cannot be disabled: "Cannot disable the last admin of the tenant". Make another user of that tenant an Admin first
Reset two-step authentication for <user>The user's authenticator and recovery codes stop working at once, and they set up two-step authentication again at their next sign-inOffered only when the user has two-step authentication on, or started setting it up
Download details for <user>Saves the user's details as a text fileNone
Make <user> a Normal userAsks "Make <user> a Normal user in tenant <tenant>?". Click Make Normal; the prompt stays open until the server answers. The user becomes a Normal user of that tenant and leaves this listAdmin rows only; it is not offered for a Privileged user. A tenant's last admin cannot be demoted: "Cannot demote the last admin of the tenant"
Reset password for <user>Enter New password (at least 12 characters) and Confirm new password, then click Reset password. The current password stops working and a sign-in lockout is clearedOnly for accounts whose sign-in type is a password. It is not offered for an account whose sign-in type is Microsoft or Google, even if that person later set a password with Forgot your password?
warning

A password reset does not notify the user. Pass the new password on yourself, over a safe channel.

From this view you cannot delete a user, change a user's email, or change a user's role. An admin of that tenant deletes users and changes roles from their own Users list; only an admin of the default tenant can change a user's email. To bring a demoted user back, an admin of that tenant makes them an Admin again.

An admin's account page​

Click a name in Tenant admins to open that admin's account page. Only the platform admin can open it; anyone else is taken to Home with the message "You don't have access to Manage: Identity and access".

The Account box shows:

FieldWhat it shows
TenantThe tenant the user belongs to
EmailThe sign-in email
User IDThe user's ID
Access tierAdmin or Privileged
Auth sourceThe sign-in type
Two-step authenticationOn, Off, or Setup not finished
CreatedThe date the account was created
RoleThe user's role
StatusACTIVE or DISABLED (an account disabled from an older screen can read INACTIVE)
Email verifiedYes or No
Last updatedThe date the account was last changed

Auth source, Two-step authentication, Created, Email verified and Last updated appear only when the account has a value for them.

The page shows the account only. The user's source accounts, source roles, the objects they own and their permissions belong to their own tenant and are not shown here.

Disable or Enable is at the top of the page. Disable asks "Disable <user> in tenant <tenant>?" first, with the same limit as in the list: a tenant's last active admin cannot be disabled. Enable applies at once. The other actions (reset two-step authentication, download details, make Normal, reset password) stay on the row in the list. Tenant admins at the top returns to the list.

If no admin of another tenant has the user ID in the address, the page reads "No admin of another tenant has this user ID." On a server without the exact lookup, a user ID that is also part of many other admins' names or emails can read "Too many accounts match this user ID to find this one. Open it from the Tenant admins list." If the account cannot be loaded, the error is shown with Retry.

Roles mode (platform operators)​

The IAM tab under Manage → Configuration sets how one tenant is checked against roles. Only platform operators see it. It opens directly at /manage/configuration?tab=iam.

ModeWhat happens
ShadowThe server default: tenants with no saved mode follow it. New tenants start On by default; an on-prem install can start them in Shadow with IAM_NEW_TENANT_ROLES_MODE. A trial: nothing is refused, but every action a role would refuse is logged, so you can check roles before switching them on.
OnRoles are enforced. Anything a user's role does not allow is refused.
  1. Pick a tenant. The page shows its Saved mode and the mode Running now. Not set means the tenant follows the server, which is Shadow unless it was changed.
  2. Pick a different mode and click Apply.
  3. Confirm. The prompt says what the new mode does, and warns when the change weakens checks (for example On to Shadow).

The server can also be switched off by an administrator as an emergency stop. While it is off, no tenant is checked: the page says so, and a mode saved here starts to apply once the server is back to Shadow or On. A change reaches every server within about 30 seconds.