Ajout permissions
This commit is contained in:
parent
c16626dfac
commit
f959f92a38
@ -216,22 +216,6 @@ class modTelephonie extends DolibarrModules
|
||||
$this->rights[$r][5] = 'lire';
|
||||
$r++;
|
||||
|
||||
$this->rights[$r][0] = 148;
|
||||
$this->rights[$r][1] = 'Consulter les tarifs';
|
||||
$this->rights[$r][2] = 'w';
|
||||
$this->rights[$r][3] = 0;
|
||||
$this->rights[$r][4] = 'tarifs';
|
||||
$this->rights[$r][5] = 'lire';
|
||||
$r++;
|
||||
|
||||
$this->rights[$r][0] = 149;
|
||||
$this->rights[$r][1] = 'Definir les permissions sur les tarifs';
|
||||
$this->rights[$r][2] = 'w';
|
||||
$this->rights[$r][3] = 0;
|
||||
$this->rights[$r][4] = 'tarif';
|
||||
$this->rights[$r][5] = 'permission';
|
||||
$r++;
|
||||
|
||||
$this->rights[$r][0] = 281;
|
||||
$this->rights[$r][1] = 'Consulter les services';
|
||||
$this->rights[$r][2] = 'w';
|
||||
@ -240,6 +224,31 @@ class modTelephonie extends DolibarrModules
|
||||
$this->rights[$r][5] = 'lire';
|
||||
$r++;
|
||||
|
||||
$this->rights[$r][0] = 291;
|
||||
$this->rights[$r][1] = 'Consulter les tarifs';
|
||||
$this->rights[$r][2] = 'w';
|
||||
$this->rights[$r][3] = 0;
|
||||
$this->rights[$r][4] = 'tarifs';
|
||||
$this->rights[$r][5] = 'lire';
|
||||
$r++;
|
||||
|
||||
$this->rights[$r][0] = 292;
|
||||
$this->rights[$r][1] = 'Definir les permissions sur les tarifs';
|
||||
$this->rights[$r][2] = 'w';
|
||||
$this->rights[$r][3] = 0;
|
||||
$this->rights[$r][4] = 'tarif';
|
||||
$this->rights[$r][5] = 'permission';
|
||||
$r++;
|
||||
|
||||
$this->rights[$r][0] = 293;
|
||||
$this->rights[$r][1] = 'Modifier les tarifs clients';
|
||||
$this->rights[$r][2] = 'w';
|
||||
$this->rights[$r][3] = 0;
|
||||
$this->rights[$r][4] = 'tarif';
|
||||
$this->rights[$r][5] = 'client-modifier';
|
||||
$r++;
|
||||
|
||||
|
||||
// Dir
|
||||
$this->dirs[0] = $conf->telephonie->dir_output;
|
||||
$this->dirs[1] = $conf->telephonie->dir_output."/ligne";
|
||||
|
||||
Loading…
Reference in New Issue
Block a user