Skip to content

The Accounts

The Accounts page shows every account of the server. An account is a name and a role that a person or a script uses to log in. On this page, an administrator makes new accounts, changes them, sets their passwords and removes them. The page also shows the tokens of every account and the history of the accounts. To open the page, click “Accounts” in the sidebar, under “Settings”.

The page reads the accounts, the tokens and the history at three times: on open, after a click on “Read again”, and after each change. It does not read again by itself.

Only an administrator sees “Accounts” in the sidebar. An operator or a viewer who opens the address of the page sees “Only an administrator can see this page”.

The three roles are:

  • “Administrator”: can do everything, and can change the accounts.
  • “Operator”: can change the settings, but not the accounts.
  • “Viewer”: can read the pages, but cannot change anything. A viewer cannot open the Server log, because its lines can name accounts.

The header says “Accounts”. On the right are two buttons:

  • “New account”: opens the panel that makes a new account.
  • “Read again”: reads the accounts, the tokens and the history again, for example after another administrator changed an account.

The table has one row for each account, sorted by name:

  • “Name”: the name that the account uses to log in. Your own row says “(you)” after the name, such as “dana (you)”.
  • “Shown as”: the shown name of the account, such as “Bob Smith”. An account with no shown name has an empty cell.
  • “Role”: “Administrator”, “Operator” or “Viewer”. Another word comes from a newer server, with a role that this console does not know.
  • “Password”: “Set” or “None”. An account with “Set” has a password and can log in. An account with “None” has no password yet and cannot log in.
  • “Changed”: the date and the time of the last change of the account, in the time zone of your browser.

At the end of each row is a menu button with three dots. It holds “Edit”, “Set password” and “Remove”. Your own row has no menu. It has the link “Your account” instead. There you change your own password.

On a phone, the name and the menu are on the first line of each row. The shown name, the role, the password and the time of the last change are on the second line. Each one has its label, such as “Role Admin” or “Password Set”.

  1. Click “New account”. A panel opens at the right side of the page, beside the table. On a phone, it rises from the bottom.
  2. Type the name in “Name”. The name holds lower case letters, digits, -, _ and ., and at most 64 characters.
  3. If you want a shown name, type it in “Shown as”. It holds at most 128 characters.
  4. Pick the role in “Role”. The role is “Viewer” until you change it.
  5. Type the password in “Password”, and again in “Password again”.
  6. Click “Make account”, or “Cancel” to stop.

The console first makes sure that the password holds at least 12 characters and that the two passwords are the same. If not, a line under the field says “At least 12 characters” or “The two passwords do not match”, and the console sends nothing.

The console then sends two requests. The first one makes the account with no password. The second one sets its password. When both work, a message says “Made the account bob”.

If the second request fails, the account exists with no password. A message says “bob exists, but has no password yet”, with the words of the server under it. The row then shows “None”. Use “Set password” on that row to give the account its password.

  1. Open the menu of the row, and click “Edit”.
  2. Change the name, the shown name or the role.
  3. Click “Save”, or “Cancel” to stop.

The console sends only the fields that you changed. If you changed nothing, it sends nothing and closes the panel. To remove the shown name, empty the field “Shown as”. When the change works, a message says “Changed the account bob”.

  1. Open the menu of the row, and click “Set password”. The panel opens with the name of the account in its title, such as “Set the password of bob”.
  2. Type the new password in “Password”, and again in “Password again”.
  3. Click “Set password”, or “Cancel” to stop.

The panel says “Every session of this account ends.” A session is one login. So the person who uses the account must log in again with the new password. The console makes the same checks as for a new account. When the change works, a message says “Set the password of bob”, and the row shows “Set”.

“Cancel” closes the panel of “New account”, “Edit” or “Set password”. Escape, a click outside the panel, the close button at the top and a swipe close it too. If you changed the form, the panel does not close at once. “Cancel” turns red and says “Discard changes”, and a line beside it says “Click again to close without your changes.” Click it again, or press Escape again, to close the panel and drop what you typed. To keep the form, click a field: the button says “Cancel” again.

  1. Open the menu of the row, and click “Remove”.
  2. Read the question, such as “Remove the account bob?”. The text under it says “Its tokens and its sessions end too.”
  3. Click “Remove account” to remove it, or “Cancel” to stop.

When the removal works, a message says “Removed the account bob”. A token is a key that a script uses in place of a password. The tokens of the account stop working.

A token is a key that a script uses in place of a password. It acts as its account, with the role of that account. Under the accounts table, the part “Tokens” shows the tokens of every account, newest first:

  • “Token”: the public part of the token, such as 7a9282af6cc6. The server shows the full token only once: at the time it makes the token. This page never shows it.
  • “Label”: the words that the maker gave the token, such as “a dashboard”. A token with no label has an empty cell.
  • “Account”: the name of the account that the token acts as.
  • “Made”: the date and the time of the new token.

On a phone, the token and “Revoke” are on the first line of each row. The label, the account and the time are on the second line. If no account has a token, the part says “No tokens yet.”

This page does not make tokens. Each user makes their own tokens on “Your account”. An administrator too can make a token only for their own account.

  1. Click “Revoke” at the end of the row of the token.
  2. Read the question, such as “Revoke the token 7a9282af6cc6?”.
  3. Click “Revoke token” to revoke it, or “Cancel” to stop.

When the revoke works, a message says “Revoked the token 7a9282af6cc6”, and the row goes. A script that uses the token stops working. A revoke that fails shows a message with the words of the server, and the token stays.

Under the tokens, the part “History” shows each change of the accounts, newest first. The table has three columns:

  • “When”: the date and the time of the change.
  • “Who”: the name of the account that made the change. “Setup” means the first setup of the server. “Command line” means the command line of the server.
  • “What”: the change, such as:
    • “Made the account bob, as Operator”
    • “Renamed bob to robert”
    • “Changed the role of bob to Viewer”
    • “Changed the shown name of bob”
    • “Set the password of bob”
    • “Removed the account bob”
    • “Made a token for bob: a dashboard”, or “Made a token for bob” for a token with no label
    • “Revoked a token of bob”

A change that this console does not know shows the word of the server, then the name, such as “lock: bob”. On a phone, the time and who are on the first line of each row, and the change is on the second line. If the server has no changes to show, the part says “No changes yet.”

The history shows the newest 200 changes first. To see older ones, click “Load older changes” under the table. The page adds the next 200 changes under the rows that it shows. Click the button again to go further back. When no older change is left, the button goes, and the line “No older changes.” shows in its place.

An older Tadoru server does not give the history in parts. With such a server, the page shows only the newest 200 changes, and there is no “Load older changes”.

If the older changes do not load, the words of the server show above the button. The rows that the page shows stay. Click “Load older changes” again to try again.

“Read again” and each change read the newest 200 changes again. The older rows go from the page. After a restore of a backup, click “Read again”, because the server then holds the history of the backup.

A panel that the server refuses stays open. It shows the words of the server at the top, and it keeps what you typed, and the cursor moves to the words. Fix the values and try again. While a panel waits for the server, it stays open, and “Cancel” is gray. The back gesture of a phone still closes the panel then. The request still goes to the server, and if the change works, its message shows as usual. The server gives these refusals:

  • “That name is taken”: another account already has that name. Pick another name.
  • For a new account, another message with the name in it: another account has that name. Pick another name.
  • “That is not an account this server can carry”: the name, the shown name or the role breaks a rule of the server. The words under it say which rule.
  • “That is the last administrator who can log in”: after the change, no administrator can log in. Give another account the role “Administrator” and a password first.
  • “That password is too short”: the server needs at least 12 characters.

A removal that fails shows a message with the words of the server, and the account stays. The last administrator who can log in cannot be removed.

Another message with the words of the server, for example that the server is busy, means that nothing changed. Wait a moment, then try again.

The page reads the accounts, the tokens and the history in three requests. If the page cannot read one of them, that part shows the words of the server and “Try again”. Click “Try again” to read that part again. Did the list load before? Then the page keeps it and shows the error above it.