Manage accounts and reclaim seats on a self-hosted installation

Organization admins manage their organization's members. On a self-hosted installation, someone also needs to manage the accounts themselves: the person who left the company, the one who lost their phone, the contractor whose seat is still counted a year later. That's the Users tab in Settings ▸ Installation.

The list

Each account shows its name and email, its organizations (with "(admin)" where it's an administrator), when it was last active (sign-in or API token use), how it signs in (password, Google, GitHub, SSO, SCIM, LDAP, plus 2FA), and its status. Search by name or email, and filter by active, deactivated or waiting for deletion. Active accounts are the ones that take a licence seat.

Deactivate

When someone leaves:

  • they can't sign in by any method, including the CLI and IDE sign-in;
  • their open sessions stop within about 10 seconds on every replica;
  • their personal and extension API tokens are revoked at once;
  • their seat is freed.

Their collections, history and memberships stay. Reactivate restores everything except the revoked tokens, if a seat is free.

If the account is the only administrator of an organization with other members, the confirmation asks who takes over, defaulting to the longest-standing member. Nobody ends up with an organization that has no admin.

With SCIM or LDAP, deactivating here doesn't change the directory, and the directory doesn't undo it. Remove the person there too, so the member list matches.

Help-desk actions

  • Unlock: for an account locked after too many wrong passwords. The password doesn't change; if someone else was guessing it, also force a reset.
  • Reset 2FA: for a lost phone. Two-step verification is turned off and sessions end. If an organization requires 2FA, the person is asked to set it up again on their next sign-in.
  • Force password reset: the old password stops working, sessions end, and a one-time link valid for 24 hours is created. With a mail server it's emailed; without one, it's shown to you once to pass on.

Delete

Type the account's email to confirm. The account is deactivated now and permanently deleted after 30 days, the same grace period as when people delete their own account. Reactivate during those days cancels the deletion.

You can't act on your own account here, and installation administrators can't be deactivated or deleted from this screen.

Reclaim inactive seats

Licences are sold by seat, and seats fill up with people who tried the tool once. Below the list, enter a number of days (90 by default) and Preview: you get active accounts with no sign-in and no token use for that long, with their last activity. Tick the ones to deactivate and confirm. Accounts that became active in between are skipped and reported.

To do it automatically, set TAIRI_SEAT_RECLAIM_AFTER_DAYS=90 and the scheduler deactivates every account inactive for that long, once a day. Reactivation is one click if someone comes back.

Logs

Every action is written to the installation's activity log, and actions that touch an organization (handing over admin rights) to that organization's audit log as well.