From 1a4d76d75d37f47ded930b5f1f45fc1ad653ac01 Mon Sep 17 00:00:00 2001 From: Rodolphe Quiedeville Date: Fri, 2 Sep 2005 12:25:16 +0000 Subject: [PATCH] Ajout permissions --- htdocs/includes/modules/modTelephonie.class.php | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/htdocs/includes/modules/modTelephonie.class.php b/htdocs/includes/modules/modTelephonie.class.php index 16d6aed1893..ed776792e72 100644 --- a/htdocs/includes/modules/modTelephonie.class.php +++ b/htdocs/includes/modules/modTelephonie.class.php @@ -232,6 +232,14 @@ 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][2] = 'w'; + $this->rights[$r][3] = 0; + $this->rights[$r][4] = 'service'; + $this->rights[$r][5] = 'lire'; + $r++; + // Dir $this->dirs[0] = $conf->telephonie->dir_output; $this->dirs[1] = $conf->telephonie->dir_output."/ligne";