Difference between revisions of "Module Users (developer)"
Jump to navigation
Jump to search
m |
m (→Tables SQL) |
||
Line 31: | Line 31: | ||
= Tables SQL = | = Tables SQL = | ||
− | * [[Table_llx_user|llx_user]] contains | + | * [[Table_llx_user|llx_user]] contains list of Dolibarr users |
− | * | + | * [[Table_llx_usergroup|llx_usergroup]] contains list of Dolibarr user groups |
+ | * [[Table_llx_usergroup_user|llx_usergroup_user]] contains link between user and groups | ||
+ | * [[Table_llx_rights_def|llx_rights_def]] contains list of available permissions. | ||
+ | * [[Table_llx_usergroup_rights|llx_usergroup_rights]] contains link between groups and the list of permissions to define group permissions | ||
+ | * [[Table_llx_user_rights|llx_user_rights]] contains link between users and the list of permissions to define users permissions | ||
+ | * [[Table_llx_user_param|llx_user_param]] used to store personal setup. |
Revision as of 16:00, 7 November 2009
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.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/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.