Ajout de la permission "consulter tous les clients" dans le module commercial, afin
qu'un commercial puisse voir que les clients qui lui sont affectés.
This commit is contained in:
parent
e3954f4ac7
commit
c5fb4bc894
@ -92,6 +92,15 @@ class modCommercial extends DolibarrModules
|
|||||||
$this->rights[$r][4] = 'main';
|
$this->rights[$r][4] = 'main';
|
||||||
$this->rights[$r][5] = 'lire';
|
$this->rights[$r][5] = 'lire';
|
||||||
$r++;
|
$r++;
|
||||||
|
|
||||||
|
// 262 : Permission générale
|
||||||
|
$this->rights[$r][0] = 262;
|
||||||
|
$this->rights[$r][1] = 'Consulter tous les clients';
|
||||||
|
$this->rights[$r][2] = 'r';
|
||||||
|
$this->rights[$r][3] = 0;
|
||||||
|
$this->rights[$r][4] = 'main';
|
||||||
|
$this->rights[$r][5] = 'voir';
|
||||||
|
$r++;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user