Edit User
| Access | Admin |
| Route | /useredit/:id |
Edit an existing user account. The page has two tabs: User (details) and Tools (owned tools).
User tab​
Login methods​
Email​
- If the user has an email login: shows the email with "Disconnect" and "Set Password" buttons
- If no email: an input field with a "Connect" button (validates format and global uniqueness)
Phone​
- If the user has a phone login: shows the number with a "Disconnect" button
- If no phone: country code dropdown and phone input with a "Connect" button
Note: You cannot modify your own login methods when editing your own account.
Deleted login indicator​
Shown if the user previously deleted their own login credentials. Dismissible.
Contact information​
| Field | Notes |
|---|---|
| Name | |
| Phone (contact) | With call button |
| Email (contact) | With mailto button |
| Employee number | |
| ID Card | Only with Kiosk module — validates uniqueness |
| ID Card PIN | Only with Kiosk module |
Permissions​
| Setting | Notes |
|---|---|
| Can choose department | |
| Administrator | Cannot toggle for yourself |
| Guest user | Hidden if user is admin; cannot toggle for yourself |
Warehouse access​
Lists all company warehouses as toggleable checkboxes. Changes save immediately. If the user has default access to all warehouses, a message says so.
Delete user​
Red danger button. Disabled if:
- You are editing your own account
- There is a payment problem
- The user still owns or stocks tools
Shows a confirmation dialog before deletion.
Tools tab​
Lists all tools owned or stocked by this user. Includes an "Add tool" button (disabled if there is a payment problem).
Self-edit restrictions​
When editing your own account, you cannot:
- Modify your own email/phone login methods
- Delete your own account
- Toggle your own admin/guest status