Rights should not be given by default
This commit is contained in:
parent
6964f196c8
commit
5ed041c0cd
@ -100,7 +100,7 @@ class modExpenseReport extends DolibarrModules
|
||||
$this->rights[1][0] = 771;
|
||||
$this->rights[1][1] = 'Read expense reports (yours and your subordinates)';
|
||||
$this->rights[1][2] = 'r';
|
||||
$this->rights[1][3] = 1;
|
||||
$this->rights[1][3] = 0;
|
||||
$this->rights[1][4] = 'lire';
|
||||
|
||||
$this->rights[3][0] = 772;
|
||||
|
||||
@ -85,7 +85,7 @@ class modStock extends DolibarrModules
|
||||
$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][3] = 0;
|
||||
$this->rights[0][4] = 'lire';
|
||||
$this->rights[0][5] = '';
|
||||
|
||||
@ -106,7 +106,7 @@ class modStock extends DolibarrModules
|
||||
$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][3] = 0;
|
||||
$this->rights[3][4] = 'mouvement';
|
||||
$this->rights[3][5] = 'lire';
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user