Add advanced right to add / update thirdparty payment information

This commit is contained in:
Alexandre SPANGARO 2021-11-02 04:52:16 +01:00
parent fb0002a38e
commit 155eae1772

View File

@ -197,6 +197,13 @@ class modSociete extends DolibarrModules
$this->rights[$r][3] = 0; // La permission est-elle une permission par defaut
$this->rights[$r][4] = 'export';
$r++;
$this->rights[$r][0] = 130;
$this->rights[$r][1] = 'Modify thirdparty information payment';
$this->rights[$r][3] = 0;
$this->rights[$r][4] = 'addupdate_thirdparty_payment_information'; // Visible if option MAIN_USE_ADVANCED_PERMS is on
$this->rights[$r][5] = 'write';
// 262 : Restrict access to sales representative
$r++;
$this->rights[$r][0] = 262;