diff --git a/htdocs/includes/modules/modAccounting.class.php b/htdocs/includes/modules/modAccounting.class.php index bd524a126fc92..462b20748140f 100644 --- a/htdocs/includes/modules/modAccounting.class.php +++ b/htdocs/includes/modules/modAccounting.class.php @@ -49,7 +49,7 @@ function modAccounting($DB) global $conf; $this->db = $DB ; - $this->numero = 1400 ; + $this->numero = 50400 ; $this->family = "financial"; // Module label (no space allowed), used if translation string 'ModuleXXXName' not found (where XXX is value of numeric property 'numero' of module) @@ -88,42 +88,42 @@ function modAccounting($DB) $this->rights = array(); $this->rights_class = 'accounting'; - $this->rights[1][0] = 1401; + $this->rights[1][0] = 50401; $this->rights[1][1] = 'Lire le plan de compte'; $this->rights[1][2] = 'r'; $this->rights[1][3] = 1; $this->rights[1][4] = 'plancompte'; $this->rights[1][5] = 'lire'; - $this->rights[2][0] = 1402; + $this->rights[2][0] = 50402; $this->rights[2][1] = 'Creer/modifier un plan de compte'; $this->rights[2][2] = 'w'; $this->rights[2][3] = 0; $this->rights[2][4] = 'plancompte'; $this->rights[2][5] = 'creer'; - $this->rights[3][0] = 1403; + $this->rights[3][0] = 50403; $this->rights[3][1] = 'Cloturer plan de compte'; $this->rights[3][2] = 'w'; $this->rights[3][3] = 0; $this->rights[3][4] = 'plancompte'; $this->rights[3][5] = 'cloturer'; - $this->rights[4][0] = 1411; + $this->rights[4][0] = 50411; $this->rights[4][1] = 'Lire les mouvements comptables'; $this->rights[4][2] = 'r'; $this->rights[4][3] = 1; $this->rights[4][4] = 'mouvements'; $this->rights[4][5] = 'lire'; - $this->rights[5][0] = 1412; + $this->rights[5][0] = 50412; $this->rights[5][1] = 'Creer/modifier/annuler les mouvements comptables'; $this->rights[5][2] = 'w'; $this->rights[5][3] = 0; $this->rights[5][4] = 'mouvements'; $this->rights[5][5] = 'creer'; - $this->rights[6][0] = 1415; + $this->rights[6][0] = 50415; $this->rights[6][1] = 'Lire CA, bilans, resultats, journaux, grands livres'; $this->rights[6][2] = 'r'; $this->rights[6][3] = 0; diff --git a/htdocs/includes/modules/modDocument.class.php b/htdocs/includes/modules/modDocument.class.php index acefba0899ce3..d532225ac2850 100644 --- a/htdocs/includes/modules/modDocument.class.php +++ b/htdocs/includes/modules/modDocument.class.php @@ -85,14 +85,14 @@ function modDocument($DB) $r=0; - $this->rights[$r][0] = 510; + $this->rights[$r][0] = 511; $this->rights[$r][1] = 'Lire les documents'; $this->rights[$r][2] = 'r'; $this->rights[$r][3] = 1; $this->rights[$r][4] = 'lire'; $r++; - $this->rights[$r][0] = 511; + $this->rights[$r][0] = 512; $this->rights[$r][1] = 'Supprimer les documents clients'; $this->rights[$r][2] = 'd'; $this->rights[$r][3] = 0; diff --git a/htdocs/includes/modules/modDomain.class.php b/htdocs/includes/modules/modDomain.class.php index 7f51a3a2e1258..a4e35bc17db1e 100644 --- a/htdocs/includes/modules/modDomain.class.php +++ b/htdocs/includes/modules/modDomain.class.php @@ -45,7 +45,7 @@ class modDomain extends DolibarrModules function modDomain($DB) { $this->db = $DB; - $this->numero = 1300 ; + $this->numero = 50400; $this->family = "other"; // Module label (no space allowed), used if translation string 'ModuleXXXName' not found (where XXX is value of numeric property 'numero' of module) @@ -86,21 +86,21 @@ function modDomain($DB) $r=0; $r++; - $this->rights[$r][0] = 1301; + $this->rights[$r][0] = 50401; $this->rights[$r][1] = 'Read domain names'; $this->rights[$r][2] = 'r'; $this->rights[$r][3] = 1; $this->rights[$r][4] = 'read'; $r++; - $this->rights[$r][0] = 1302; + $this->rights[$r][0] = 50402; $this->rights[$r][1] = 'Create/modify domain names'; $this->rights[$r][2] = 'w'; $this->rights[$r][3] = 0; $this->rights[$r][4] = 'create'; $r++; - $this->rights[$r][0] = 1303; + $this->rights[$r][0] = 50403; $this->rights[$r][1] = 'Delete domain names'; $this->rights[$r][2] = 'd'; $this->rights[$r][3] = 0; diff --git a/htdocs/includes/modules/modFTP.class.php b/htdocs/includes/modules/modFTP.class.php index 8752c4e877b5b..2df63f6bb192a 100644 --- a/htdocs/includes/modules/modFTP.class.php +++ b/htdocs/includes/modules/modFTP.class.php @@ -97,14 +97,14 @@ function modFTP($DB) $this->rights = array(); // Permission array used by this module $r++; - $this->rights[$r][0] = 2800; + $this->rights[$r][0] = 2801; $this->rights[$r][1] = 'Use FTP client in read mode (browse and download only)'; $this->rights[$r][2] = 'r'; $this->rights[$r][3] = 1; $this->rights[$r][4] = 'read'; $r++; - $this->rights[$r][0] = 2801; + $this->rights[$r][0] = 2802; $this->rights[$r][1] = 'Use FTP client in write mode (delete or upload files)'; $this->rights[$r][2] = 'w'; $this->rights[$r][3] = 0; diff --git a/htdocs/includes/modules/modMantis.class.php b/htdocs/includes/modules/modMantis.class.php index 3a216e06b5f8d..a7f65656d8448 100644 --- a/htdocs/includes/modules/modMantis.class.php +++ b/htdocs/includes/modules/modMantis.class.php @@ -48,7 +48,7 @@ function modMantis($DB) // Id for module (must be unique). // Use here a free id. - $this->numero = 1200; + $this->numero = 50300; // Family can be 'crm','financial','hr','projects','product','technic','other' // It is used to sort modules in module setup page