/admin-users gives administrators full visibility and control over every registered account in KilomeTracker.
Viewing all users
The user list shows every registered account with the following details:- Username — the account’s display name
- Email — the account’s email address
- Role — one of
read,write,admin, orroot - Status — whether the account is active or deactivated
Role badges
Roles are displayed with color-coded badges to make them easy to identify at a glance:| Role | Badge color |
|---|---|
root | Red (destructive) |
admin | Purple |
write | Blue (info) |
read | Gray (muted) |
Filtering users
Use the filter controls at the top of the user list to show only active or inactive accounts. Toggle the isActive filter to switch between views.Role overview
read
Can view vehicles, routes, refuels, maintenance, and expenses. Cannot create, edit, or delete records.
write
Can add and manage vehicles, routes, refuels, maintenance, and expenses. No access to user management.
admin
Full access including the user management panel. Can change roles, deactivate, and reactivate other users.
root
Exists in the database for system-level purposes. Cannot be assigned from the UI. Displayed with a red badge.
The
root role cannot be assigned to any user from the admin panel. It exists only at the database level and is not available in the role selector.Changing a user’s role
Find the user
Locate the user in the list. Use the filter or scroll to find the account you want to update.
Open the role selector
Click the role badge or the edit action for that user row to open the role selector.
Deactivating a user
Deactivating a user performs a soft delete — the account is not permanently removed. Instead,isActive is set to false and the user can no longer log in.