mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2026-01-06 09:02:59 +01:00
Fix: Suppression des droits mis dans le mauvais module
This commit is contained in:
@@ -79,42 +79,6 @@ class modSyslog extends DolibarrModules
|
||||
// Permissions
|
||||
$this->rights = array();
|
||||
$this->rights_class = 'syslog';
|
||||
|
||||
$this->rights[0][0] = 1001;
|
||||
$this->rights[0][1] = 'Lire les stocks';
|
||||
$this->rights[0][2] = 'r';
|
||||
$this->rights[0][3] = 1;
|
||||
$this->rights[0][4] = 'lire';
|
||||
$this->rights[0][5] = '';
|
||||
|
||||
$this->rights[1][0] = 1002;
|
||||
$this->rights[1][1] = 'Cr<43>er/Modifier les stocks';
|
||||
$this->rights[1][2] = 'w';
|
||||
$this->rights[1][3] = 0;
|
||||
$this->rights[1][4] = 'creer';
|
||||
$this->rights[1][5] = '';
|
||||
|
||||
$this->rights[2][0] = 1003;
|
||||
$this->rights[2][1] = 'Supprimer les stocks';
|
||||
$this->rights[2][2] = 'd';
|
||||
$this->rights[2][3] = 0;
|
||||
$this->rights[2][4] = 'supprimer';
|
||||
$this->rights[2][5] = '';
|
||||
|
||||
$this->rights[3][0] = 1004;
|
||||
$this->rights[3][1] = 'Lire mouvements de stocks';
|
||||
$this->rights[3][2] = 'r';
|
||||
$this->rights[3][3] = 1;
|
||||
$this->rights[3][4] = 'mouvement';
|
||||
$this->rights[3][5] = 'lire';
|
||||
|
||||
$this->rights[4][0] = 1005;
|
||||
$this->rights[4][1] = 'Cr<43>er/modifier mouvements de stocks';
|
||||
$this->rights[4][2] = 'w';
|
||||
$this->rights[4][3] = 0;
|
||||
$this->rights[4][4] = 'mouvement';
|
||||
$this->rights[4][5] = 'creer';
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user