Groups, Members and Group rules

Three screens that administer the tenant being served. In single-tenant mode they live under Application, because there is one tenant and nobody names it. With several, the same screens are reached per tenant from Tenants, where the question which one is asked.

The chain is short: a role is global, a group is a bag of roles inside one tenant, and a membership puts a person in groups.

Give alice the BILLING role, in order

The role BILLING exists in Roles; alice has an account.

  1. On Groups, tick BILLING in the Finance column. It saves on the click.
  2. On Members, tick Finance on alice's row. If she was not a member yet, she becomes one.
  3. Check: on Infra > Routes, Routing test, As tenant this tenant and With roles BILLING, a route asking for BILLING takes this request; or alice opens it in her browser. The role takes effect within seconds, without signing her out.

The whole example, from creating the role to the route's rule, is on Authenticating and authorising.

Groups

The Groups screen: the role catalogue down the side, three group columns, a tick where a role belongs to a group

Three groups - Finance, Support, Warehouse - against the catalogue. Each row shows the role's description over its technical name, and the Whole column row sits just under the headers.

A matrix: the role catalogue down the side, this tenant's groups across the top, a tick where a role belongs to a group.

Above the matrix, Group mode decides how a person's groups combine:

Mode Effect
Cumulative The roles of every group the person is in are merged
Exclusive One group is picked at sign-in

On the Groups screen, a group's name (its column header, a tonal button) opens its drawer: name, description and, in exclusive mode only, its working hours (Enterprise), which replace the account's and the tenant's for whoever signs in with that group. Save applies; deleting it is in the drawer's danger zone, after a confirmation.

Members

The Members screen: the accounts down the side, the same three group columns, and the last connection

The same installation in single-tenant mode: the same matrix as a tenant's, membership and admin badge included - one tenant is still a tenant.

A matrix again: the accounts down the side, this tenant's groups across the top.

Members and Users answer two different questions and stay apart: Users is the account, this is the assignment.

Group rules

A group rule open in its drawer: the authority, the upstream group, and the group of the tenant it grants

What an authority says, turned into membership and groups here. A GitHub organisation or team, an LDAP group, a claim from an identity provider: a rule says anyone from this authority, or anyone whose group is X, and grants the groups on the right.

The rule in the picture: Authority Corporate directory, Upstream group finance, Group Finance. Whoever signs in through the corporate directory with the group finance becomes a member of the tenant, in the Finance group. New rule writes one: the authority (or Any authority), the upstream group exactly as the authority spells it (empty for anyone from that authority), then the group it grants, or Membership only.

The screen refuses to show an empty table with a button that leads nowhere: with no enabled authority it says to go and add one, and with no group it says to create one first.

Enterprise edition: group rules come with the directories feature.

Two things about rules that surprise people:

When writing a rule, the upstream group field suggests the groups the authorities have already reported. A tenant administrator is offered only those of the tenant's own members: the directory groups of other people are not theirs to read.

Traps