Prepare task 473
This commit is contained in:
parent
86ac10995f
commit
1c557a96bd
@ -127,6 +127,23 @@ class modSociete extends DolibarrModules
|
|||||||
$this->rights[$r][3] = 1; // La permission est-elle une permission par defaut
|
$this->rights[$r][3] = 1; // La permission est-elle une permission par defaut
|
||||||
$this->rights[$r][4] = 'lire';
|
$this->rights[$r][4] = 'lire';
|
||||||
|
|
||||||
|
/* $r++;
|
||||||
|
$this->rights[$r][0] = 241;
|
||||||
|
$this->rights[$r][1] = 'Read thirdparties customers';
|
||||||
|
$this->rights[$r][2] = 'r';
|
||||||
|
$this->rights[$r][3] = 0;
|
||||||
|
$this->rights[$r][4] = 'thirparty_customer_advance'; // Visible if option MAIN_USE_ADVANCED_PERMS is on
|
||||||
|
$this->rights[$r][5] = 'read';
|
||||||
|
|
||||||
|
$r++;
|
||||||
|
$this->rights[$r][0] = 242;
|
||||||
|
$this->rights[$r][1] = 'Read thirdparties suppliers';
|
||||||
|
$this->rights[$r][2] = 'r';
|
||||||
|
$this->rights[$r][3] = 0;
|
||||||
|
$this->rights[$r][4] = 'thirdparty_supplier_advance'; // Visible if option MAIN_USE_ADVANCED_PERMS is on
|
||||||
|
$this->rights[$r][5] = 'read';
|
||||||
|
*/
|
||||||
|
|
||||||
$r++;
|
$r++;
|
||||||
$this->rights[$r][0] = 122; // id de la permission
|
$this->rights[$r][0] = 122; // id de la permission
|
||||||
$this->rights[$r][1] = 'Creer modifier les societes'; // libelle de la permission
|
$this->rights[$r][1] = 'Creer modifier les societes'; // libelle de la permission
|
||||||
@ -134,6 +151,23 @@ class modSociete extends DolibarrModules
|
|||||||
$this->rights[$r][3] = 0; // La permission est-elle une permission par defaut
|
$this->rights[$r][3] = 0; // La permission est-elle une permission par defaut
|
||||||
$this->rights[$r][4] = 'creer';
|
$this->rights[$r][4] = 'creer';
|
||||||
|
|
||||||
|
/* $r++;
|
||||||
|
$this->rights[$r][0] = 251;
|
||||||
|
$this->rights[$r][1] = 'Create thirdparties customers';
|
||||||
|
$this->rights[$r][2] = 'r';
|
||||||
|
$this->rights[$r][3] = 0;
|
||||||
|
$this->rights[$r][4] = 'thirparty_customer_advance'; // Visible if option MAIN_USE_ADVANCED_PERMS is on
|
||||||
|
$this->rights[$r][5] = 'read';
|
||||||
|
|
||||||
|
$r++;
|
||||||
|
$this->rights[$r][0] = 252;
|
||||||
|
$this->rights[$r][1] = 'Create thirdparties suppliers';
|
||||||
|
$this->rights[$r][2] = 'r';
|
||||||
|
$this->rights[$r][3] = 0;
|
||||||
|
$this->rights[$r][4] = 'thirdparty_supplier_advance'; // Visible if option MAIN_USE_ADVANCED_PERMS is on
|
||||||
|
$this->rights[$r][5] = 'read';
|
||||||
|
*/
|
||||||
|
|
||||||
$r++;
|
$r++;
|
||||||
$this->rights[$r][0] = 125; // id de la permission
|
$this->rights[$r][0] = 125; // id de la permission
|
||||||
$this->rights[$r][1] = 'Supprimer les societes'; // libelle de la permission
|
$this->rights[$r][1] = 'Supprimer les societes'; // libelle de la permission
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user