Module Users (developer): Difference between revisions

From Dolibarr ERP CRM Wiki
Jump to navigation Jump to search
m (Import interlang links (links to translated versions of this page in other languages) from Multi Language Manager table.)
 
(5 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]]
[[Category:Users]]
{{TemplateDocDevEn}}
{{TemplateDocDevEn}}
{{TemplateModEN Developer}}
{{BasculeDevUser|
{{BasculeDevUser|
nom=Users|
nom=Users|
Line 9: Line 17:
= Feature =
= 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 groups
* Dolibarr user groups
Line 15: Line 22:
= Entity user =
= Entity user =
{{TemplateDocDevEntityEn|
{{TemplateDocDevEntityEn|
class=htdocs/user.class.php}}
class=htdocs/user/class/user.class.php}}


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


= Permissions =
= Permissions =

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