Skip to main content

Settings: people

People​

Accounts are created by invitation only. Nobody can sign up on their own.

Invite someone​

Choose Invite, enter the person's Email and choose a Role: Member or Administrator. The page shows the Invitation link. Nothing is emailed: send the link to the person yourself. The link works once and expires on the date shown. Opening it lets the person choose a password and join with the role you chose.

The Invitations list shows the invitations still open, Pending, and those Expired in the last week, so one can be sent again. An accepted invitation's person is under People; revoked ones are no longer listed. Revoking a pending invitation stops its link from working.

Manage people​

The People list shows each account's email, Role, when they Joined, how many Tasks they have, and whether the account is Active or Disabled.

  • Role: choose it in the list; it changes at once. Your own role can't be changed here ("You can't change your own role. Another administrator can."), so the last administrator never steps down by mistake; the gateway also keeps at least one administrator active.
  • An email shows whole, on one line where there is room, and breaks only after its @ or a dot.
  • Disable: asks first, naming the email; the person is signed out at once and their API tokens stop working. Their tasks stay. Your own row has no Disable. Enable lets them sign in again.
  • Tasks: opens the list of that person's tasks. Administrators see a task's details (owner, dates, environment, model and state), never its content.

Reset a password​

People change their own password from their account page. When someone can't sign in to do it, for example the only administrator, set a new one from the host with the gateway's configuration file. The new password is read from standard input, so it never shows in the process list or the shell's history. Read it without echo first, then pipe it to the command, from the release's checkout with TQA_INSTALL_DIR set as when you installed (the gateway's program is /tqa-gateway inside its container):

read -rs -p 'New password: ' TQA_NEW_PASSWORD; echo
printf '%s\n' "$TQA_NEW_PASSWORD" | docker compose --env-file "$TQA_INSTALL_DIR/compose.env" -f deploy/compose/docker.yml \
exec -T gateway /tqa-gateway reset-password ana@example.com /etc/tqa/gateway.toml
unset TQA_NEW_PASSWORD

Any other way of piping it in works too. Typing the password straight into the command instead would show it on the screen. It must meet the same rules as a person's own change: at least 12 characters, not the email or a common password. The person's sessions end at once; their API tokens keep working, as after their own change. The command prints the account's email, or why it refused: no active account uses that email, or the password is too weak. The change is recorded in the audit as the gateway's own, never with the password.