mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2026-02-07 16:41:48 +01:00
Qual: Modification du code pour que la gestion de droits fonctionne partout avec le nouveau systme (champ perms et subperms). Suppression ancienne mthode.
This commit is contained in:
@@ -103,21 +103,25 @@ class modCommande extends DolibarrModules
|
||||
$this->rights[1][1] = 'Lire les commandes';
|
||||
$this->rights[1][2] = 'r';
|
||||
$this->rights[1][3] = 1;
|
||||
$this->rights[1][4] = 'lire';
|
||||
|
||||
$this->rights[2][0] = 82;
|
||||
$this->rights[2][1] = 'Cr<43>er modifier les commandes';
|
||||
$this->rights[2][2] = 'w';
|
||||
$this->rights[2][3] = 0;
|
||||
$this->rights[2][4] = 'creer';
|
||||
|
||||
$this->rights[3][0] = 84;
|
||||
$this->rights[3][1] = 'Valider les commandes';
|
||||
$this->rights[3][2] = 'd';
|
||||
$this->rights[3][3] = 0;
|
||||
$this->rights[3][4] = 'valider';
|
||||
|
||||
$this->rights[4][0] = 89;
|
||||
$this->rights[4][1] = 'Supprimer les commandes';
|
||||
$this->rights[4][2] = 'd';
|
||||
$this->rights[4][3] = 0;
|
||||
$this->rights[4][4] = 'supprimer';
|
||||
|
||||
// Dir
|
||||
$this->dirs[0] = $conf->commande->dir_output;
|
||||
|
||||
Reference in New Issue
Block a user