Managing user accounts
How to find an account, what you can do with it (deactivate, reset, sign out, anonymise), how to invite people, which roles exist and where the admin log is.
The Users section of the staff app replaces Django admin for everyday account work. Superusers and user managers see it; for everyone else, including system staff without a role, the menu entry is hidden.
Finding an account
Open Users. The search box matches, ignoring case, the username, first name, last name, email, pending email and Orgo id. The list shows 50 accounts per page.
Filters combine: only accounts matching all of them are listed. You can filter by:
- Role;
- State (active or deactivated);
- Guest;
- Email (verified or not verified);
- Sign-in method;
- Group (automatic-rule members are included);
- Last seen from and until.
Filters are kept in the page address, so you can share a link to a search with colleagues.
Each row shows the account, its email with its state (Verified / Not verified), roles, groups, sign-in methods, status (Active, Deactivated, Guest), when it joined and when it was last seen.
Export CSV downloads the current filtered list, without phone numbers. The export is recorded in the admin log.
The account page
Click an account to open its page. It shows:
- Profile: names, username, email (with its state and any change waiting for confirmation), phone when present, joined, last seen;
- Sign-in methods: whether a password is set and the connected providers (Orgo, Google, Facebook), with when each was last used;
- Signed-in devices, with last use;
- Roles and Groups (with the end date or "by rule");
- Game and Session staff: read-only, with links to the staff panels;
- Sessions played;
- Admin actions taken on the account.
The Purchases section (orders, passes and credits, applicable rebates) is visible to finance managers and superusers only.
What you can do with an account
Every action takes effect at once and appears in the admin log. Destructive actions ask for confirmation in an app dialog; anonymise and delete also require typing the username. If the server refuses, the reason is shown in the dialog, which stays open.
- Edit (first name, last name, username, email). The registration rules apply: a taken or invalid username is refused. A new email takes effect at once, unverified, if no other account holds it (ignoring case); a confirmation link goes to the new address and a notice to the old one.
- Deactivate: the account can no longer sign in by any method, every token is revoked, open connections are dropped and claims it holds are released. History stays. Reactivate lets it sign in again.
- Send password reset and Send sign-in link: the email goes out exactly as if the person had asked. A sign-in link sent from this dialog works once, for 15 minutes. Both need an account with an email.
- Sign out everywhere, or Sign out of a single device: those tokens are revoked.
- Disconnect a sign-in provider: the identity is removed even if it was the only sign-in method. The dialog warns that the person will then need a password reset or a sign-in link.
- Adding to and removing from groups: see the article on account groups.
Invitations
To create an account for someone, press Invite in the user list and fill in email, first name, last name and, optionally, groups. Superusers can also pick roles; for everyone else that field is not shown. You can also choose which app the link opens (the player app or the staff app).
Pressing Create and invite creates an active account now, with the email unverified and no password, adds it to the chosen groups and sends a welcome email with a sign-in link. The link works once, for 7 days; opening it signs the person in and verifies the email.
If the email already belongs to an account, the invitation is refused (email_taken) and the form links to the existing account. If the account was created but the email could not be sent, you are told, and you can send a sign-in link from the account page.
Anonymise or delete
Anonymise erases a person's personal data (GDPR erasure) while keeping game and money records. Names, email, pending email, phone and picture are cleared; the username becomes deleted-<id>; the account is deactivated with no usable password; sign-in methods, tokens, push subscriptions, location data and consents are deleted. Team memberships, submissions, ownerships and orders stay, without the person's name.
Delete account is allowed only for accounts with no history. If the account has any team membership, submission or order, deletion is refused (has_history) and you are pointed to anonymising.
Roles and who may grant them
An account can hold one or more roles: System staff, Superuser, Financial manager, User manager. They are changed in the Roles section of the account page with Save roles; the change applies at once and is recorded.
- Superusers manage everything: accounts, groups and roles.
- User managers manage ordinary accounts and groups, but not staff or role-holding accounts, and cannot change roles.
- Financial managers manage rebates (see the article on rebates) and see an account's purchases.
Only a superuser can grant or remove a role; anyone else gets 403. The user manager role shows in the person's profile as user_manager.
The admin log
Every successful action made through user management (edits, deactivations, reset mails, role changes, invitations, anonymisations, deletions, exports, group changes) is recorded with who did it, on which account, what was done, the details (old and new values; never passwords or tokens) and when.
An account's own history is in the Admin actions section of its page. The whole log is under Users → Admin log: newest first, filterable by the acting user, the account and the action.
Was this helpful?