Difference between revisions of "Table llx user rights"

From Dolibarr ERP CRM Wiki
Jump to navigation Jump to search
 
(4 intermediate revisions by the same user not shown)
Line 12: Line 12:
 
{{flag_fr}} Contient l'association entre un utilisateur et ses droits ([[Table llx_user]] et [[Table llx_rights_def]])
 
{{flag_fr}} Contient l'association entre un utilisateur et ses droits ([[Table llx_user]] et [[Table llx_rights_def]])
  
{{flag_sp}} Contiene los enlaces entre un usuario y sus permisos [[Table llx_user]] y [[Table llx_rights_def]])
+
{{flag_sp}} Contiene los enlaces entre un usuario y sus permisos ([[Table llx_user]] y [[Table llx_rights_def]])
  
 
= 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 26: Line 27:
 
| rowid  
 
| rowid  
 
| int(11)  
 
| int(11)  
| &nbsp;
+
| NO
 
| PRI
 
| PRI
 
| NULL
 
| NULL
Line 35: Line 36:
 
| int(11)  
 
| int(11)  
 
| NO
 
| NO
|  
+
| UNI
 
|  
 
|  
 
|  
 
|  
Line 43: Line 44:
 
| int(11)  
 
| int(11)  
 
| NO
 
| NO
 +
| UNI
 
|  
 
|  
 
|  
 
|  
|
+
| ID of right ([[Table llx_rights_def|llx_rights_def]]->id)
| ID of right ([[Table llx_rights_def|Table llx_rights_def]]->id)
+
|}&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>
 +
|-
 +
| PRIMARY
 +
| PRIMARY
 +
| rowid
 +
|-
 +
| fk_user
 +
| UNIQUE
 +
| fk_user,fk_id
 +
|}&nbsp;

Latest revision as of 16:02, 19 July 2011


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 link between a user and his permissions (Table llx_user and Table llx_rights_def)

Fr verysmall.png Contient l'association entre un utilisateur et ses droits (Table llx_user et Table llx_rights_def)

Es verysmall.png Contiene los enlaces entre un usuario y sus permisos (Table llx_user y Table llx_rights_def)

Structure

Table

Field Type Null Key Default Extra Description
rowid int(11) NO PRI NULL auto_increment technical index
fk_user int(11) NO UNI ID of user (llx_user->rowid)
fk_id int(11) NO UNI ID of right (llx_rights_def->id)

 

Keys

Key Type Fields
PRIMARY PRIMARY rowid
fk_user UNIQUE fk_user,fk_id