Users Module (Directory and management)
The HtkDoli Users module lets you browse the directory of users of your Dolibarr instance, view their contact details and HR information (Employment section), and — for administrators — create, edit and delete accounts as well as manage their groups.
Interface and Features (List)
The main view displays the list of users, sorted by first name.
Consultation and Research
- Search bar: Search for a user by last name, first name, login or email.
- Creation: A + button lets you create a new user. This action is only available to administrator profiles.
Information displayed
Each line represents a user with their name, login and job, along with a visual marker for administrator accounts and the active / inactive status.
Detail view (User record)
Touching a user takes you to their record (DirectoryUserDetailView), organized into sections:
Header
Full name, login (@login), photo and an Admin badge where applicable.
Contact details
- Professional email and personal email.
- Mobile phone and office phone.
Professional information
- Job position.
- Employee indicator (Yes / No).
- Account creation date.
Employment (HR)
This section mirrors the data of the Dolibarr User record (Employment section):
- Establishment.
- Employee reference.
- Weekly working hours.
- Hire date and end-of-contract date.
- Base salary: sensitive data, visible to administrators only.
Groups
The list of groups assigned to the user is shown read-only in the record.
Actions (administrators)
- Edit: Opens the user record editor.
- Manage groups: Opens the group assignment sheet.
- Delete: Permanently deletes the user.
Creation and Editing
The editor (DirectoryUserEditView) is reserved for administrators and gathers:
- Identity: login, first name, last name.
- Contact details: email, office phone, mobile phone.
- Professional information: job.
- Access: Dolibarr Administrator toggle.
- Password: set only when creating a new user.
Group Management
The "Manage groups" sheet lists the available groups and lets you select the groups to assign to the user, then Apply.
Dolibarr limitation: The Dolibarr REST API only allows adding a user to a group through
POST /users/{id}/setGroup/{groupID}. Removing a group is not possible via the API and must be done from the Dolibarr web interface.
Dolibarr business note: Consulting users requires the
user.user.lirepermission and creation / modification requires theuser.user.creerpermission. In HtkDoli, write actions (creation, modification, deletion, group management) are reserved for administrator profiles.
Screenshots
2 screenshots — click to enlarge