Skip to main content

People and Source Accounts

Overview​

A data source has its own accounts: PostgreSQL roles, Oracle users, Snowflake users and roles. After each scan, DataDios tries to match each account to a DataDios user, so that an object's owner reads as a person and not only as an account name. Two pages under Manage → Identity & access show the result and let you correct it:

  • A person's page, opened from Users: the user's profile, DataDios role and permissions; then the source accounts matched to that person, their roles inside those sources, and the catalog objects they own.
  • Source accounts: the accounts in an owner's sources that no person is matched to, where you match them by hand.

Both pages are for tenant admins. Other users do not see them, and a link to Source accounts sends them away. For how owners show on an object, see the People section.

How accounts are matched to a person​

At the end of a scan, DataDios matches each source account to a DataDios user in your tenant:

  1. By sign-in. An account from Microsoft Entra ID is matched first to the DataDios user who signs in with that same Microsoft account, in the same directory.
  2. By email. Otherwise DataDios compares the account's email with the email of the DataDios users. The emails are trimmed and compared without regard to case, and only an exact match counts.

Either way, the Source accounts page shows the link as By scan.

  • If two DataDios users have the same email, the account is not matched to either.
  • A service account is never matched by email.
  • PostgreSQL roles and Oracle users have no email, so they are matched only by an admin.
  • On Snowflake, the email is read only when the login has MANAGE GRANTS ON ACCOUNT. Without it, accounts stay unmatched.

A match or a not the same person that an admin sets always wins over the scan's match, and a later scan does not change it.

Open a person's page​

  1. Go to Manage → Identity & access → Users.
  2. Click a user's name. A user with no DataDios account has no link.

The header shows the name (Name not available if it cannot be read), whether this is a Person or a Service account, and the status. It also shows the email, the account type and the user ID. This page has no tab bar: click All users to go back to the list.

A tenant admin sees two cards first, Profile and Effective policies, and a Disable or Enable button in the header. Below them are three tables: Source accounts, Source roles and Owns.

Profile​

The Profile card is the user's DataDios account. A row with no value is left out here; My Profile shows a dash instead.

RowWhat it shows
Access tierNormal, Admin or Privileged. A service account shows Service account.
Auth sourceHow the account signs in, as DataDios stores it, for example basic for an account with a password.
Two-step authenticationOn, Off, or Setup not finished when the user started the setup and did not complete it.
CreatedThe date the account was created.
RoleThe user's DataDios role, with the role's description under it. See Change the role.

If the card cannot read the account, it says "The profile could not be loaded." with Retry, or "This user's profile details are not available."

Change the role​

For a Normal user or a service account, Role is a list. It offers the same roles as Change role on the Users list: Member (default) first (Service account (default) for a service account), then every role that can be given, marked built-in or custom.

  1. Pick another role in Role.
  2. A prompt asks "Change <user>'s role from <current role> to <new role>?". Click Change role. The prompt stays open, showing "Saving…", until the server answers.

The message reads "Role updated". If the server refuses the change, its reason is shown and the role stays as it was.

The role is read-only, with the reason under it, in these cases:

Line under the roleWhy it cannot be changed here
Set by the Admin access tierAn Admin's role comes from the access tier, not from a role you pick.
Set by the Privileged access tierA Privileged user's role comes from the access tier too.
Role from group mapping (priority N)A group mapping rule sets the role at each sign-in. Change the rule.
Role from group mappings: the company's default role (no rule matched)Group mappings are on and no rule matched this user. Change the rules.

If the list of roles cannot be loaded, Role shows "The roles could not be loaded." and cannot be changed.

Disable or enable the user​

Click Disable in the header. A prompt asks "Disable <user>?" and says "They won't be able to sign in until an admin re-enables the account." Click Disable to confirm. The prompt stays open until the server answers. For a disabled user the button reads Enable, and it applies at once with no prompt. The message reads "User disabled" or "User enabled".

A tenant always keeps one active admin, so disabling its last admin is refused with "Cannot demote or disable the last admin of the tenant". You cannot disable your own account: the message is "Ask another admin to change your own role/status".

Effective policies​

The Effective policies card lists the permissions of the user's role. Each entry shows the permission's name, its description, the actions it covers, and whether it is an Allow or a Deny.

note

The list comes from the user's own role only. The card says so: "From this user's role. Permissions a group adds are not listed." A user who belongs to groups can hold more permissions than the card shows.

For a service account the card adds: "dd-be may limit a service account further than its role."

  • A role that holds nothing shows "Role "<role>" has no permissions."
  • While roles are not switched on for your tenant, the card carries the same note as the Roles screen: "Roles are not switched on for this tenant yet. You can set them up now; they take effect once they are switched on."
  • If the list cannot be read, the card says "The permissions could not be loaded." with Retry.
  • If the user's account cannot be read, the card says "The policies could not be loaded." with Retry.

Source accounts, Source roles and Owns​

These three tables are about your data sources, not about DataDios itself. They are filled by scans.

SectionWhat it isWhat it is not
Source accountsThe logins that scans found in your data sources and that are matched to this person, such as a PostgreSQL role or a Snowflake user.The DataDios account the person signs in with. That is the Profile card.
Source rolesThe roles and groups this person's accounts hold inside those sources.The person's DataDios role. That is Role on the Profile card.
OwnsThe catalog objects, such as tables and schemas, that a source names this person as the owner of.What the person created in DataDios, such as dashboards, workflows or data sources.
SectionColumnsWhen it is empty
Source accountsAccount, Source, Kind, Matched by (The scan or An admin), Status and Source owner."No source account is matched to this person." No scanned source has an account matched to them.
Source rolesRole, Source and Status. DataDios reads at most 200 roles in each catalog, so a note says when some are not shown."No roles in a scanned source." The person can still have a DataDios role.
OwnsName, Type and Path, with the count in the title. Click Load more for the next 500. The list stops at 10,000 objects."Owns no catalog object." No scanned source names them as an owner.

A new user, or a user whose accounts are not matched yet, has all three tables empty. This is expected. To fill them, scan the sources and match the accounts.

The page reads your own catalog and the sources shared with you, not every catalog in the tenant. Another admin can see different rows for the same person. The count in Owns covers your own catalog. If a catalog shared with you also names this person, its objects are listed but not counted, and the page says so.

If some sources could not be read, a line starting "Not read" names them, and the page warns that what is listed may be incomplete. If one section fails, the page says "Part of this page could not be loaded. What is shown may be incomplete." and the rest still shows.

MessageWhat it means
This person is not a user of your tenant.The link points to someone outside your tenant.
This person has more accounts than one page can show, so the page is not shown.The page cannot list the accounts.
The person's page could not be loaded.A read failed. Click Retry.

Match accounts by hand​

Use Source accounts when a scan could not match an account, for example an Oracle user or a PostgreSQL role, or when an email match is wrong.

  1. Go to Manage → Identity & access → Source accounts.
  2. In Source owner, search a name under "Find an owner" and choose an owner. The list shows the first 100 users; when there are more, it says "Showing the first 100 of N users. Search by name to narrow the list." Until you choose, the page reads "Choose a source owner to see the accounts in that owner's sources."
  3. Read the table of that owner's unmatched accounts: Account, Source and Kind. Use Previous and Next to page through, 50 at a time. If there are none, it reads "No unmatched accounts in this owner's sources."
  4. For the account you want to resolve, choose one of the row's actions:
    • Match the account to a person. Click Match <account> to a person. In Match to a person, choose who the account is, and click Match. The match is saved in this owner's catalog and replaces what the scan found. The message reads "<account>: Matched to <person>".
    • Mark it as someone else. Click <account> is not the same person and confirm when asked. The account stays matched to no one and any match the scan made is removed. The message reads "<account>: Not the same person".

A resolved account leaves the list. Both choices are kept across scans. On the person's page, an account you matched shows An admin under Matched by, and an account matched by the scan shows The scan. A not the same person choice is not listed on any person's page, because the account is matched to no one.

If the page cannot read something, it says one of:

  • "Only a tenant admin can read another owner's accounts."
  • "That owner was not found."
  • "The accounts could not be loaded."
  • "The users could not be loaded."
  • "The source account type could not be loaded."