Changes

Line 2: Line 2:  
{{ListOfTables}}
 
{{ListOfTables}}
   −
= Contenu =
+
= Content/Contenu/Contenido =
Table qui contient la liste des droits disponibles. Tous les droits des modules actifs y sont stockés. Lorsqu'un nouveau module est activé, sa classe d'activation (htdocs/includes/modules/modXXX.class.php) a la responsabilité d'ajouter les permissions relatives au module dans cette table.
     −
Contains the various permissions available. All the active modules are stored in there. When a new module is activated, its activation class (htdocs/includes/modules/modXXX.class.php) has the responsibility of adding the permissions related to the module in this table.
+
{{flag en}} Contains the various permissions available.  
 +
 
 +
{{flag fr}} Contient la liste des droits disponibles.  
 +
 
 +
{{flag sp}} Contiene la lista de permisos disponibles.
    
= Structure =
 
= Structure =
{|  align="left" width="100%" border="0" rules="all" cellpadding="1" cellspacing="0" style="margin: 0 0 1px 1px; border: 1px solid #dddddd; border-right-width: 2px; border-bottom-width: 2px; background-color: #f3f3f5"
+
== Table ==
 +
{|  align="left" width="100%" border="0" cellpadding="1" cellspacing="0" class="dolbox"
 
  |style="background-color: #e9e9ef"| <b>Field</b>
 
  |style="background-color: #e9e9ef"| <b>Field</b>
 
  |style="background-color: #e9e9ef"| <b>Type</b>
 
  |style="background-color: #e9e9ef"| <b>Type</b>
Line 17: Line 21:  
  |style="background-color: #e9e9ef"| <b>Description</b>
 
  |style="background-color: #e9e9ef"| <b>Description</b>
 
|-  
 
|-  
| rowid
+
| id
 
| int(11)  
 
| int(11)  
 
| &nbsp;
 
| &nbsp;
 
| PRI
 
| PRI
 +
|
 +
| auto_increment
 +
| technical index
 +
|-
 +
| libelle
 +
| varchar(255)
 +
| YES
 +
|
 +
| NULL
 +
|
 +
| label
 +
|-
 +
| module
 +
| varchar(64)
 +
| YES
 +
|
 +
| NULL
 +
|
 +
| module
 +
|-
 +
| entity
 +
| int(11)
 +
| NO
 +
| PRI
 +
| 1
 +
|
 +
| multi company id
 +
|-
 +
| perms
 +
| varchar(50)
 +
| YES
 +
|
 +
| NULL
 +
|
 +
| rights
 +
|-
 +
| subperms
 +
| varchar(50)
 +
| YES
 +
|
 +
| NULL
 +
|
 +
| subrights
 +
|-
 +
| type
 +
| varchar(1)
 +
| YES
 +
|
 
| NULL
 
| NULL
| auto_increment
+
|  
| index technique
+
| type of rights
|}
+
|-
 +
| bydefault
 +
| tinyint(4)
 +
| YES
 +
|
 +
| 0
 +
|
 +
| rights by default
 +
|}&nbsp;
 +
 
 +
== Keys ==
 +
{|  align="left" width="100%" border="0" cellpadding="1" cellspacing="0" class="dolbox"
 +
|style="background-color: #e9e9ef"| <b>Key</b>
 +
|style="background-color: #e9e9ef"| <b>Type</b>
 +
|style="background-color: #e9e9ef"| <b>Fields</b>
 +
|-
 +
| pk_rights_def
 +
| PRIMARY
 +
| id, entity
 +
|}&nbsp;
 +
 
 +
= Note =
 +
{{flag en}} All the active modules are stored in there. When a new module is activated, its activation class (htdocs/core/modules/modXXX.class.php) has the responsibility of adding the permissions related to the module in this table.
 +
 
 +
{{flag fr}} Tous les droits des modules actifs y sont stockés. Lorsqu'un nouveau module est activé, sa classe d'activation (htdocs/core/modules/modXXX.class.php) a la responsabilité d'ajouter les permissions relatives au module dans cette table.
 +
 
 +
{{flag sp}} Todos los permisos de los módulos activos se guardan aquí. Si se activa un nuevo módulo, su clase de activación (htdocs/core/modules/modXXX.class.php) tiene la responsabilidad de añadir los permisos relativos al módulo en esta tabla.