Omnibus Docs

Docs › Administration

People and permissions

Everyone in the household gets an account of their own, with their own progress, shelves and stats. Administration › People is where an admin decides who can make an account, what each account is allowed to do, and what happens when someone leaves.

The first account

The first account registered on a new server becomes its admin, with every permission. As soon as it exists, registration closes, so nobody else can sign up until you open it or make their account yourself. Add your household walks through the first few accounts.

Opening and closing registration

The Self-registration card has one switch, Allow new users to register.

  • On: anyone who can reach this server can create an account. The sign-in page shows New here? Create an account.
  • Off: only an admin can create accounts. The link disappears, and the registration page says Registration is closed.

Someone who registers themselves gets the Download permission and nothing else. Open registration while the household signs up, then close it again, especially if the server is reachable from the internet.

The accounts list

The Accounts card lists everyone, oldest first, with your own row marked (you).

ColumnWhat it shows
UserThe username they sign in with.
PermissionsAdmin for an admin; otherwise a chip per permission (Upload, Edit, Download, and Ask and Pick while book requests are on), or a dash for none.
KindleTheir Send to Kindle address, if they've saved one.
CreatedWhen the account was made.
StatusActive, or Locked after too many wrong passwords.
ActionsEdit, Sessions, Impersonate and Delete.

Creating a user

  1. Choose New user.

  2. Type a Username and a Password. Usernames are up to 64 characters and must be unique, ignoring case. Passwords need 10 to 128 characters and can't be a common one.

  3. Tick the Permissions they should have. Download starts ticked.

  4. Choose Create user, then give them their username and password. They can change the password themselves under Settings › Sign-in & security, and their display name under Settings › Profile.

This works whether registration is open or closed.

Permissions

Every account can browse the library, read and listen in the app, and keep its own progress, shelves, highlights, journal, goals and devices. Permissions add to that:

PermissionChipWhat it allows
AdministratorAdminEverything, including all of Administration, deleting books and their files, library cleanup, author pictures, and managing other accounts.
Upload booksUploadAdding book files to the library from the app. See Adding books.
Edit metadataEditLibrary-wide changes everyone sees: editing a book's details and cover, looking books up at the metadata providers, fetching summaries, merging books, reordering an audiobook's files, and deleting a book that has no files. See Editing metadata.
DownloadDownloadTaking a copy away: downloading book files, downloading for offline use in the iPhone app, KEPUB downloads, downloads over OPDS, and the KOReader plugin and its books. Reading and streaming in the app don't need it.
Ask for booksAskMaking book requests. Shown only while book requests are on.
Pick versionsPickChoosing, retrying or cancelling any reader's request. Shown only while book requests are on.

Ticking Administrator ticks every other box and locks them, since an admin can do all of it anyway.

Changing permissions or a password

  1. Choose Edit on their row. A dialog named after them opens with their current permissions.

  2. Tick or untick permissions. To make someone an admin, tick Administrator; to stop, untick it.

  3. To set a new password for them, type it in Reset password. Leave it blank to keep the current password.

  4. Choose Save changes.

The server applies new permissions to their very next request. A reset password signs them out on every device, and they sign in again with the new one; their API tokens keep working. Resetting your own password here signs you out too.

There must always be at least one admin, so Omnibus refuses to remove the last one's Administrator permission.

Locked accounts

Five wrong passwords in a row lock an account for 15 minutes, and its status shows Locked. If someone has simply mistyped and remembers their password, choose Unlock on their row to let them in straight away. If they've forgotten it, reset it.

Signing someone out

Choose Sessions on a row to see where that person is signed in.

  • Sessions lists each browser and app signed in, with when it was last used.
  • Devices lists the phones and other apps they've signed in from, with their kind and when each was last seen.

Choose Revoke beside any of them. Revoking a session signs out that one browser or app. Revoking a device also ends every session tied to it. Readers can do the same for themselves; see Sessions and API tokens.

Seeing Omnibus as someone else

Impersonate signs you in as that person for one hour, with exactly their permissions, so you can see what they see: a shelf that looks wrong to them, or a book they can't open.

  • Your own session ends when you start. Your menu shows Viewing as their name and how long is left.
  • Choose Return to your name in the menu, or Sign out, to come back as yourself. After the hour runs out, sign in again.
  • It works only in a browser, never on your own account, and not while you're already impersonating someone.
  • Anything you change while impersonating, you change as them.
  • It isn't hidden: while it lasts, the session appears in their own Sessions list marked Impersonated by you.

Deleting an account

  1. Choose Delete on their row.

  2. Read the warning and choose Delete user.

Deleting an account removes everything that was only theirs: reading progress, highlights, journal entries, shelves and sessions. Books they added stay in the library for everyone else. This can't be undone, so if you might want their history back, take a backup first.

Omnibus won't delete the last admin. If you delete your own account, you're signed out.

Recovering admin access

If nobody can get into an admin account, for example because the only admin has forgotten their password, you can promote an existing account from outside the app with OMNIBUS_INITIAL_ADMIN.

  1. Pick an account that someone can still sign in to. The variable never creates an account; it only promotes one that exists.

  2. Add the variable to the environment: block of your docker-compose.yml, with that account's username:

          OMNIBUS_INITIAL_ADMIN: "ada"
  3. Restart with docker compose up -d. The account is an admin from then on.

  4. Sign in as it and fix what needs fixing, such as resetting the old admin's password under Edit.

  5. Remove the line and run docker compose up -d again.