Skip to main content
Version: 0.0.2

Multi-User

DockWallet is designed for multi-user operation from the ground up. Each user has their own account and can only access their own boarding passes. Admins manage all users centrally via the admin panel.


User Roles

There are two roles in DockWallet:

Regular user — can log in, manage their own passes, and update their own profile. Has no access to the admin panel.

Admin — has full access to the admin panel and can create, edit, and delete all users. An admin cannot delete their own account.


How Users Are Created

There are two ways to add users to DockWallet:

1. Self-registration

If USER_REGISTRATION=true is set in the .env file, a Register link appears on the login page. Users can sign up with a username, email address, and password.

After registering, a confirmation email is sent. The account is only activated once the user clicks the link in that email. This requires SMTP to be configured.

Self-registration is disabled by default (USER_REGISTRATION=false).

2. Created by an admin

Admins can create users directly in the admin panel without requiring email confirmation. The account can be set to active immediately and optionally granted admin rights straight away.


Pass Isolation

Each pass is linked to the user who created it. Users cannot see or access passes belonging to other users. Admins do not have a special view of other users' passes — pass management is always per-user.


Enabling Self-Registration

To allow users to register themselves, set the following in your .env file:

USER_REGISTRATION=true

Then restart the backend container:

docker compose restart backend

To disable registration again, set it back to false and restart. Existing accounts are not affected.


Managing Users as an Admin

See the Admin Panel page for full details on creating, editing, resetting passwords, and deleting users.