Skip to content
Snippets Groups Projects
Commit f959f92a authored by Rodolphe Quiedeville's avatar Rodolphe Quiedeville
Browse files

Ajout permissions

parent c16626df
No related branches found
No related tags found
No related merge requests found
......@@ -216,7 +216,15 @@ class modTelephonie extends DolibarrModules
$this->rights[$r][5] = 'lire';
$r++;
$this->rights[$r][0] = 148;
$this->rights[$r][0] = 281;
$this->rights[$r][1] = 'Consulter les services';
$this->rights[$r][2] = 'w';
$this->rights[$r][3] = 0;
$this->rights[$r][4] = 'service';
$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;
......@@ -224,7 +232,7 @@ class modTelephonie extends DolibarrModules
$this->rights[$r][5] = 'lire';
$r++;
$this->rights[$r][0] = 149;
$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;
......@@ -232,14 +240,15 @@ class modTelephonie extends DolibarrModules
$this->rights[$r][5] = 'permission';
$r++;
$this->rights[$r][0] = 281;
$this->rights[$r][1] = 'Consulter les services';
$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] = 'service';
$this->rights[$r][5] = 'lire';
$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";
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment