Module Users (developer)
Jump to navigation
Jump to search
Users | |
---|---|
Numéro/ID du module | 0 |
Doc utilisateur du module | Module Users |
Doc développeur du module | This page |
Feature
Module Users is a mandatory module. It's the only Dolibarr module you can't disable. Its role is to manage permissions into Dolibarr, so to manage following entities:
- Dolibarr users
- Dolibarr user groups
Entity user
The PHP class to use to manipulate such object is file htdocs/user/class/user.class.php.
It contains CRUD methods to create (C), read (R), update (U) and delete (D) this object.
Entity group
The PHP class to use to manipulate such object is file htdocs/user/class/usergroup.class.php.
It contains CRUD methods to create (C), read (R), update (U) and delete (D) this object.
Permissions
- ->user->user->lire
- ->user->user->creer
- ->user->user->password
- ->user->user->supprimer
- ->user->self->creer
- ->user->self->password
- ->user->self->export
Tables SQL
- llx_user contains list of Dolibarr users
- llx_usergroup contains list of Dolibarr user groups
- llx_usergroup_user contains link between user and groups
- llx_rights_def contains list of available permissions.
- llx_usergroup_rights contains link between groups and the list of permissions to define group permissions
- llx_user_rights contains link between users and the list of permissions to define users permissions
- llx_user_param used to store personal setup.