2
0
forked from Wavyzz/dolibarr

FIX permission to close a proposal when using advanced permissions

This commit is contained in:
Laurent Destailleur
2021-07-01 03:06:40 +02:00
parent 51456741d9
commit 5b34ea6c22
3 changed files with 15 additions and 5 deletions

View File

@@ -157,7 +157,8 @@ class modPropale extends DolibarrModules
$this->rights[$r][1] = 'Close commercial proposals'; // libelle de la permission
$this->rights[$r][2] = 'd'; // type de la permission (deprecie a ce jour)
$this->rights[$r][3] = 0; // La permission est-elle une permission par defaut
$this->rights[$r][4] = 'cloturer';
$this->rights[$r][4] = 'propal_advance';
$this->rights[$r][5] = 'close';
$r++;
$this->rights[$r][0] = 27; // id de la permission