Module Users (developer): Difference between revisions

From Dolibarr ERP CRM Wiki
Jump to navigation Jump to search
mNo edit summary
m (Import interlang links (links to translated versions of this page in other languages) from Multi Language Manager table.)
 
(17 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]]}}
{{TemplateDocDevEn}}
 
== Module role ==


= 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 user groups


    * Dolibarr users
= Entity user =
    * Dolibarr user groupes
{{TemplateDocDevEntityEn|
 
class=htdocs/user/class/user.class.php}}


== Permissions ==
= Entity group =
{{TemplateDocDevEntityEn|
class=htdocs/user/class/usergroup.class.php}}


* To complete...
= Permissions =
*->user->user->lire
*->user->user->creer
*->user->user->password
*->user->user->supprimer
*->user->self->creer
*->user->self->password
*->user->self->export


== Tables SQL ==
= Tables SQL =
* [[Table_llx_user|llx_user]] contains llist of Dolibarr users
* [[Table_llx_user|llx_user]] contains list of Dolibarr users
* To complete...
* [[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