mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2026-02-09 09:22:36 +01:00
NEW : add new permissions to read supplier prices (#33598)
* add new permissions to read supplier prices * Update modProduct.class.php * Update modProduct.class.php * Update modService.class.php --------- Co-authored-by: Christophe Battarel <christophe@altairis.fr> Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
This commit is contained in:
committed by
GitHub
parent
6ea3da0b61
commit
71acce0afb
@@ -110,6 +110,14 @@ class modService extends DolibarrModules
|
||||
$this->rights[$r][5] = 'read_prices';
|
||||
$r++;
|
||||
|
||||
$this->rights[$r][0] = 535; // id de la permission
|
||||
$this->rights[$r][1] = 'Read supplier prices'; // libelle de la permission
|
||||
$this->rights[$r][2] = 'w'; // type de la permission (deprecated)
|
||||
$this->rights[$r][3] = 0; // La permission est-elle une permission par default
|
||||
$this->rights[$r][4] = 'product_advance';
|
||||
$this->rights[$r][5] = 'read_supplier_prices';
|
||||
$r++;
|
||||
|
||||
$this->rights[$r][0] = 534; // id de la permission
|
||||
$this->rights[$r][1] = 'Delete les services'; // libelle de la permission
|
||||
$this->rights[$r][2] = 'd'; // type de la permission (deprecated)
|
||||
|
||||
Reference in New Issue
Block a user