-
Notifications
You must be signed in to change notification settings - Fork 0
Usage
When you start the application for the first time with an empty database, the backend automatically creates an initial admin user.
Caution
The admin password is auto-generated (16 characters) and is printed only once in the backend startup logs. If you miss it, you will need to wipe the database volume and restart.
-
Start the services:
docker compose up -d
-
Retrieve the generated password from the logs:
docker compose logs backend | grep "INITIAL ADMIN PASSWORD"
You will see output like:
*** INITIAL ADMIN PASSWORD: aB3xK9mP2zR7vL8q — save this now, it will not be shown again *** -
Open the frontend at http://localhost:5173 and log in with:
-
Username:
Admin - Password: (the generated password from step 2)
-
Username:
-
On first login you will be prompted to change your password (the
mustChangePasswordflag is set).
Only administrators can create and manage users.
- Go to User Management
- Click Create User
- Fill in: first name, last name, username, email
- The system generates a random initial password — share it securely with the new user
- The new user must change their password on first login
| Action | Description |
|---|---|
| Edit | Change first name, last name, username, or email |
| Activate / Deactivate | Temporarily disable a user's account |
| Change Role | Promote a user to ADMIN or demote to USER |
| Reset Password | Generate a new random password (user must change on next login) |
Persons represent individuals who may receive access to locks (e.g., employees, tenants).
- Go to Persons
- Click Create Person
- Enter the person's details
- The person is now available to be assigned access grants
Locks can be created manually or synchronized from a supported vendor (e.g., ISEO).
- Go to Locks
- Click Create Lock
- Select the vendor
- Fill in the required vendor-specific fields
- Save
Warning
Only vendors that are configured in the "Vendors" section will be available for selection when creating a new lock. To add the required vendor data, see Vendor Configuration
If you have configured vendor credentials, you can synchronize all locks from the vendor's system:
- Go to Locks
- Click Sync
- All remote locks are imported and displayed in the list
Before you can manage locks from a specific vendor, you need to configure the vendor's API credentials.
- Go to Vendor Configuration
- Click Add Vendor Data
- Select one of the implemented vendors from the list (e.g., ISEO)
- Fill in the required authentication fields
- Save
The credentials are encrypted at rest using the APP_SECURITY_MASTER_KEY.
Access grants define who can open which lock during a specific time window.
- Go to Access Grants
- Click Grant Access
- Select a Person
- Select a Lock
- Set start and end date/time
- Save
The grant is provisioned to the vendor's system (e.g., ISEO) if applicable.
- Find the access grant in the list
- Click Revoke
- The permission is removed from both the local system and the vendor
Every relevant action (user creation, access grant, lock sync, etc.) is logged in the audit trail.
- Go to Audit Logs
- Use the date filter and search to narrow results
- Each entry shows: timestamp, actor, action type, and details