Module Users (developer): Difference between revisions
Jump to navigation
Jump to search
PolyglotBot (talk | contribs) m (Import interlang links (links to translated versions of this page in other languages) from Multi Language Manager table.) |
|||
| (15 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
<!-- BEGIN origin interlang links --> | |||
<!-- You can edit this section but do NOT remove these comments | |||
Links below will be automatically replicated on translated pages by PolyglotBot --> | |||
[[fr:Module_Utilisateurs_(développeur)]] | |||
[[es:Módulo_Usuarios_(desarrollador)]] | |||
<!-- END interlang links --> | |||
[[Category:Users]] | |||
{{TemplateDocDevEn}} | |||
{{TemplateModEN Developer}} | |||
{{BasculeDevUser| | {{BasculeDevUser| | ||
nom=Users| | nom=Users| | ||
num=0| | |||
devdoc=This page| | devdoc=This page| | ||
userdoc=[[Users]]}} | userdoc=[[Module Users]]}} | ||
= 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: | 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 users | ||
* Dolibarr user | * Dolibarr user groups | ||
= Entity user = | |||
{{TemplateDocDevEntityEn| | |||
class=htdocs/user/class/user.class.php}} | |||
== | = Entity group = | ||
{{TemplateDocDevEntityEn| | |||
class=htdocs/user/class/usergroup.class.php}} | |||
= Permissions = | |||
*->user->user->lire | *->user->user->lire | ||
*->user->user->creer | *->user->user->creer | ||
| Line 25: | Line 37: | ||
*->user->self->export | *->user->self->export | ||
= 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. | |||
Latest revision as of 13:21, 23 July 2019
| 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.
