Difference between revisions of "Table llx rights def"

From Dolibarr ERP CRM Wiki
Jump to navigation Jump to search
Line 11: Line 11:
  
 
= Structure =
 
= Structure =
 +
== Table ==
 
'''Version 1.1 2009/10/07'''
 
'''Version 1.1 2009/10/07'''
 
{|  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"
 
{|  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"

Revision as of 10:09, 19 October 2009


En verysmall.png The documentation related to other tables is available on the page: Table SQL
Fr verysmall.png La documentation relative aux autres tables est disponible sur la page: Table SQL
Es verysmall.png La documentación relativa a otras tablas se encuentra disponible en la página: Table SQL
De verysmall.png Eine Dokumentation zu weiteren Tabellen ist auf dieser Seite verfügbar: Table SQL
Cn verysmall.png与其他表相关的文档请参阅:Table SQL


Content/Contenu/Contenido

En verysmall.png 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.

Fr verysmall.png 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.

Es verysmall.png Contiene la lista de permisos disponibles. Todos los permisos de los módulos activos se guardan aquí. Si se activa un nuevo módulo, su clase de activación (htdocs/includes/modules/modXXX.class.php) tiene la responsabilidad de añadir los permisos relativos al módulo en esta tabla.

Structure

Table

Version 1.1 2009/10/07

Field Type Null Key Default Extra Description
id int(11)   PRI auto_increment technical index
libelle varchar(255) YES NULL label
module varchar(12) 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 type of rights
bydefault tinyint(4) YES 0 rights by default

 

Keys

Version 1.2 2009/10/17

Key Type Fields
pk_rights_def PRIMARY id, entity