Skip to main content

User Management

Backoffice path: backoffice/users

Available to roles: System Administrator, Administrator

Overview

The User Management page is the central hub for administering pilot accounts across your virtual airline. From here you can create new accounts, edit existing profiles, assign roles and permissions, and remove users when necessary.

User List

The main view displays a paginated table of all registered users with the following columns:

ColumnDescription
NameThe pilot's full name
EmailAccount email address
AirportThe pilot's currently assigned home airport (ICAO code)
RankCurrent rank within the airline
RolesAssigned roles displayed as colored badges (e.g., sysadmin, administrator, operations-staff)
Created AtThe date and time the account was created

Sorting and Searching

All columns in the user list are sortable. Click any column header to sort ascending or descending.

Use the search bar to filter users by:

  • Name -- partial or full name match
  • Email -- partial or full email match
  • Airport -- ICAO airport code

Creating a User

To create a new user account, click the Create button at the top of the user list. Fill in the following fields:

FieldRequiredDescription
NameYesThe pilot's full name
EmailYesA unique email address for the account
PasswordYesInitial password for the account
AirportYesHome airport assignment (ICAO code)
RankYesStarting rank within the airline
RolesNoOne or more role checkboxes: sysadmin, administrator, operations-staff

If no roles are selected, the user is created as a regular pilot with no backoffice access.

Email Verification

When pilots register through the self-service registration form, they must verify their email address before they can book flights. A verification email is sent automatically upon registration. Unverified pilots can still browse the platform (dashboard, fleet, roster, schedules) but are redirected to a verification notice when attempting to access the booking page.

Editing a User

Click on any user in the list to open their edit page. The edit page is divided into several sections.

Profile Information

Update the following fields for an existing user:

  • Name -- the pilot's display name
  • Email -- account email address
  • Airport -- reassign the pilot's home airport
  • Rank -- change the pilot's current rank

Role Assignment

Roles are managed via checkboxes on the edit page. Check or uncheck roles to sync the user's role assignments:

  • System Administrator (sysadmin)
  • Administrator (administrator)
  • Operations Staff (operations-staff)

Role changes take effect immediately upon saving.

Direct Permissions / Abilities

In addition to role-based permissions, you can grant specific abilities directly to a user. This allows fine-grained access control that bypasses the standard role definitions. Use the permissions section on the edit page to sync individual abilities for the user.

Activity Log

The user edit page includes a paginated activity log showing two categories:

  • Changes to this user — Every edit to the user's profile fields (name, email, airport, rank, etc.) is recorded with timestamps and who made the change.
  • Actions by this user — Staff actions performed by this user on other models (e.g., approving flights, moving aircraft) are displayed in a second table.

This provides a complete audit trail for both administrative changes to a pilot's account and the pilot's own staff actions.

Password Reset

A separate password reset form is available on the user edit page. Enter the new password and confirm it to update the user's credentials. This is independent of the profile information form and must be submitted separately.

Roles Overview

Users can be assigned one or more of the following roles. Each role grants a different level of backoffice access:

RoleKey AbilitiesDescription
System AdministratoreverythingFull, unrestricted access to every feature in the platform.
Administratorsee-admin-options + model-level permissionsAccess to most management features including airlines, airports, schedules, fleet, users, settings, and more.
Operations Staffsee-admin-options + limited permissionsRestricted access to documents, licenses, spotter photos, and ferry flights.
note

Regular users (pilots) do not have any backoffice roles assigned and cannot access the administration panel. Only users with at least one role that grants the see-admin-options ability will see the backoffice navigation.

Deleting a User

When a user account is deleted, the following cascade operations are performed:

DataAction
BookingsSoft-deleted (preserved in database but marked as deleted)
FlightsHard-deleted (permanently removed)
PointsHard-deleted
License pivotsHard-deleted (license assignments removed)
Activity log entriesHard-deleted (both subject and causer records)
TokensHard-deleted (API/session tokens revoked)
Profile pictureRemoved from storage
caution

Deleting a user is a destructive action. Flights, points, license associations, logs, and authentication tokens are permanently removed and cannot be recovered. Only bookings are soft-deleted and could potentially be restored.

Central (Platform Admin) User Management

Central path: tenants/{tenant_id}/users

Available to: Platform administrators (central app)

In addition to managing users from within a tenant's backoffice, platform administrators can manage any tenant's users directly from the central dashboard. This is useful for support operations and account administration without needing to log into each tenant individually.

Accessing Central User Management

  1. Navigate to Tenants in the central dashboard.
  2. Click on a tenant to open its edit page.
  3. Click the Manage Users button in the header area.

Available Actions

The central user management interface mirrors the backoffice user CRUD with the following pages:

PagePathDescription
User Listtenants/{id}/usersPaginated table with search, sort, and delete — identical columns to the backoffice user list
Create Usertenants/{id}/users/createCreate a new user in the tenant's database with name, email, password, airport, rank, and roles
Edit Usertenants/{id}/users/{user_id}/editEdit user details, assign/retract roles and direct permissions, reset password

Key Differences from Backoffice User Management

  • No plan limits: Central admin bypasses the tenant's UserLimitService — users can be created regardless of the tenant's plan restrictions.
  • No tenant-level authorization: Actions are not gated by the tenant's Bouncer permissions since the platform admin operates outside the tenant's permission context.
  • No activity log panel: The edit page does not include the activity log component (which is tenant-scoped).