skirl

People and roles

Everyone who uses Skirl has an account that an admin made in Admin → People: there is no sign-up. Each person is an Admin or a Member, and an admin can stop anyone's access at once by disabling them.

What each role can do#

Admin Member Disabled (either role)
Sign in Yes Yes No
Read and send on a topic Every topic The topics they are given access to on the topic's Access tab, and the topics open to everyone (Who can see a topic) No
Make topics Yes Only with May create topics ticked No
Run a topic: its Access and Settings tabs, Listen for a real message, Delete topic Every topic The topics they made, even after May create topics is turned off No
Make tokens for scripts Yes, with at most their own rights Yes, with at most their own rights Their tokens stop working
Notifications on their devices Yes Yes Not sent: the delivery log says user disabled
The admin pages (People, Topics, Tokens, Delivery log, Templates, Diagnostics, Settings) Yes No: the page says Admins only No
Save templates Yes No No

Everyone can subscribe to the topics they may read, mute them, and change their own settings and password. A token never has more rights than the person it belongs to: Tokens and access.

A member who runs a topic gives people access by typing their user name on the topic's Access tab; only admins see a list of everyone to pick from.

Adding a person#

Admin → People → Add person opens the form:

  • User name: what they sign in with. Lower case letters, digits, _, . and -, up to 64, starting with a letter or digit. It cannot be changed later.
  • Display name: optional; shown instead of the user name in lists.
  • Role: Member or Admin.
  • Initial password: 8 characters or more. Generate makes a random one of 20 characters.
  • May create topics (by sending to a new name, or here): ticked or not to begin with as New people may create topics says in Admin settings.

After Add person the password is shown once, with Copy password. Skirl sends no e-mail: give the person their user name and password yourself. They can change the password under Settings → Password.

The list of people#

Admin → People lists everyone, with how many people and active admins there are:

  • Name: the display name, the user name below it, and "(you)" on your own line.
  • Role and State: Active or Disabled.
  • Last sign-in: when they last signed in with their password, or "never".
  • Devices: how many of their devices are receiving, waiting or not receiving (the devices list on Diagnostics says why).
  • Tokens: how many of their tokens still work (not revoked, not expired).

Edit on a line opens that person's panel; Close folds it again.

Editing a person#

The panel has four parts.

Details: change the Display name, the Role, and May create topics, then Save. A new role applies at once: a member made admin sees every topic, an admin made member sees only what they have access to. Turning May create topics off stops new topics; the topics they already made stay theirs to run.

Reset password: type a New password (8 characters or more) or Generate one, then Set password. It signs them out everywhere. Give them the new password yourself: it is shown once, with Copy.

Sessions: Sign out everywhere ends every session they have, in every browser. Their tokens keep working; revoke those in Admin → Tokens. On your own line it signs you out of this browser too.

Disable or delete: see the next two sections.

Disabling a person#

Disable stops someone at once and keeps everything they have:

  • every session they have ends, and they cannot sign in;
  • their tokens stop working (a script using one gets 401);
  • their devices get no notifications: each delivery is skipped with the reason user disabled;
  • their topics, access, subscriptions, tokens and devices stay as they were.

The list shows them as Disabled. Enable in the same place gives everything back, tokens included (unless they expired meanwhile).

Deleting a person#

Delete asks first, and says what goes and what stays. Delete user name now deletes them; it cannot be undone. Keep cancels.

What goes:

  • the account, and every browser they are signed in on;
  • their tokens (a script using one gets 401);
  • everything they have open, at once: the app's live updates, and every ntfy app or script subscribed with their password or one of their tokens. Nothing sent after the delete reaches them;
  • their devices: no more notifications (not even one waiting to be tried again), and those devices' lines in the delivery log;
  • their subscriptions, what they have read, their quiet hours and their access to topics.

What stays:

  • the messages they sent, with their files: each file is kept until its own expiry, as if they were still there (Attachments);
  • the topics they made, with their messages. Nobody runs them any more except admins;
  • the templates they changed.

A deleted person's files no longer count towards anyone's Files per sender, only towards All files on the server, until they expire.

Nobody added later takes the deleted person's place: each person gets a number of their own that is never given again, even under the same user name. A page still open on the deleted person finds nobody; reload it.

The only admin#

Skirl always keeps one active admin. The only active admin cannot be made a member, disabled or deleted: the panel says so, the Role choice and the Disable and Delete buttons are turned off, and Skirl refuses it: "The only active admin cannot be demoted, disabled or deleted. Make someone else an admin first." Make another person an admin first.

If nobody can sign in as an admin any more (a forgotten password), the skirl user commands on the server can set a password or add an admin: The skirl commands.

All topics#

Admin → Topics lists every topic on the server, including the private ones nobody gave you access to:

  • Name, with the name shown and who made it below.
  • Without signing in: Private, Anyone can read, Anyone can send or Public (Who can see a topic).
  • Keeps: how many days it keeps messages.
  • Messages, Subscribers and Last message.
  • Access and Settings open those tabs of the topic.

New topic makes a topic without sending to it: Name (letters, digits, - and _, up to 64), Name shown (optional), Without signing in and Keep messages (days). Left as they are, the last two take the defaults from New topics and people. Create topic makes it and opens its Access tab, so you can give people access straight away.

This page on GitHub