Docs/Users & sign-in/Administrator roles and permissions
DartRelay 2.1 documentation
Users & sign-in

Administrator roles and permissions

Not every administrator needs to change everything. Administrator roles let you decide, area by area, what each administrator may look at and what they may change in the console, and let membership of an Active Directory group grant a role automatically.

Administrators and portal users are separate

Console administrators are listed under System → Admin Users, not under Authentication → Users. The Users page and the user group member lists show ordinary portal users only, and administrators do not appear in the access picker as portal users.

There are two ways to be a console administrator:

Both sign in at the console's own sign-in page, /admin. The console is not affected by the per-address sign-in rules under Appearance → Tenancy & Branding, which means you can always get back in to fix a mistake there. Which network addresses may reach the console is a separate setting; see Sign-in protection.

How roles work

A role is a named set of permissions. For each area (module) of the console, a role gives one of three levels:

LevelMeans
NoneThe area is hidden from the menu and cannot be opened.
ViewThe administrator can open and read the area's pages but cannot save, add or delete anything there.
FullThe administrator can read and change everything in the area.

The modules are grouped the same way as the console menu: General, Catalog, Authentication, Email and System. A few pages belong to a neighbouring module, for example the Directories page belongs to the Authentication Methods module, and the Network Access page to Security.

The built-in Full Administrator role

DartRelay always has a role called Full Administrator with full access to everything. It cannot be deleted or deactivated, and its full access cannot be removed.

Administrators with no role

A local administrator account that has no roles assigned at all has unrestricted access, as administrators did before roles existed. Once you give an account a role, its access is limited to what its roles allow. If you later deactivate that role, the account loses the access; it does not fall back to unrestricted.

Create a role

  1. Open the roles page. Go to System → Admin Roles. The list shows each role with how many modules it covers, how many directory groups grant it, how many administrators hold it, and whether it allows portal access.
  2. Add a role. Give it a name and description, and choose a starting level for every module (None, View or Full). Starting everything at View is a quick way to make a read-only role.
  3. Set the permission grid. On the role's page, change the level for each module as needed.
  4. Decide about portal access. Allow it only if administrators with this role also need to use the portal.
  5. Choose who holds the role. Assign it to local administrator accounts, and/or add directory groups whose members should receive it (see below).
  6. Save.
SettingWhat it doesDefault
NameThe role's name. Must be unique.—
DescriptionA note on what the role is for.Empty
ActiveAn inactive role grants nothing.On
Full accessGives Full on every module, including any added in future versions.Off
Portal accessWhether holders may use the portal (and see every resource there).Off
Permission gridNone, View or Full for each module.As chosen when the role was created
Directory groupsActive Directory or local Windows groups whose members receive this role when they sign in to the console.None
AdministratorsLocal administrator accounts that hold this role.None

Give a role to an Active Directory group

This lets your existing IT groups manage DartRelay without separate accounts. For example, members of CORP\Helpdesk can sign in to the console with their Windows credentials and receive a Help Desk role.

  1. Switch on the sign-in source. Make sure Domain Users (or Windows Users, for local groups) is on in Authentication → Authentication Methods.
  2. Open the role under System → Admin Roles.
  3. Add the group. In the directory group picker, choose where to look (each listed domain, or the DartRelay server's local groups), search for the group and add it. Groups are stored with their domain, such as CORP\Helpdesk.
  4. Save.
  5. Try it. Sign in at /admin as a member, using CORP\name or the domain list on the sign-in page. The menu should show only what the role allows.

A domain group and a local Windows group with the same name are different groups: a local group called Admins on the DartRelay server never receives a role given to CORP\Admins. Groups in different domains are kept apart in the same way. Nested group membership counts.

An account that signs in successfully but is in no group that grants a role is refused, with the same "Invalid username or password" message as a wrong password.

Local administrator accounts

Local administrator accounts are managed under System → Admin Users. Turning an account into an administrator, or back into an ordinary user, needs Full permission on Admin Users; Full permission on portal Users alone is not enough. This stops somebody who manages portal users from making themselves an unrestricted administrator.

Safety rails

When changes take effect

An administrator's roles are worked out when they sign in. If you change a role, or add or remove somebody from a group that grants one, the change applies the next time that administrator signs in. Ask them to sign out and back in if you need a change to apply straight away.

Example: a read-only auditor and a help desk

If something goes wrong

For directory administrators, the console's sign-in page always says "Invalid username or password", so that it does not reveal which accounts exist. The real reason is written to System → Audit Log.

Audit log saysMeaning and fix
Not attempted, because neither Domain Users nor Windows Users is enabledSwitch the source on in Authentication → Authentication Methods.
The directory rejected the credentialsWrong password, or the account's domain is not on Authentication → Directories, or the DartRelay server cannot reach a domain controller.
No group memberships could be readThe account signed in but its groups could not be listed. The account the DartRelay service runs as needs permission to read the directory.
No mapping matched, with both lists shownThe account is in none of the groups the roles name. Compare the two lists; check the group was picked in the right domain.
ProblemWhat to check
An administrator cannot see a menu section.Their roles give None on every module in it. Add View or Full on the module they need.
An administrator can open a page but Save is refused.Their roles give View, not Full, on that module.
An administrator cannot open the portal.None of their roles allows portal access.
A role change has no effect.The administrator has not signed in again since the change.
A role save is refused.It would leave nobody with Full permission on Admin Roles. Give another active administrator that permission first.
Still stuck? Email support@dartinnovations.com with what you were doing, what you expected and what you saw. A screenshot helps.