diff --git a/htdocs/includes/modules/modTelephonie.class.php b/htdocs/includes/modules/modTelephonie.class.php index ed776792e72..12251a34287 100644 --- a/htdocs/includes/modules/modTelephonie.class.php +++ b/htdocs/includes/modules/modTelephonie.class.php @@ -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";