From 6f4ebfe261f7dbb1839b4297df8aa51be6d0170e Mon Sep 17 00:00:00 2001 From: Rodolphe Quiedeville <rodolphe@quiedeville.org> Date: Tue, 30 Aug 2005 13:25:12 +0000 Subject: [PATCH] Ajout nouvelles permissions --- htdocs/includes/modules/modTelephonie.class.php | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/htdocs/includes/modules/modTelephonie.class.php b/htdocs/includes/modules/modTelephonie.class.php index 6efb4e6d58b..62726135afe 100644 --- a/htdocs/includes/modules/modTelephonie.class.php +++ b/htdocs/includes/modules/modTelephonie.class.php @@ -207,6 +207,22 @@ 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++; + // Dir $this->dirs[0] = $conf->telephonie->dir_output; $this->dirs[1] = $conf->telephonie->dir_output."/ligne"; -- GitLab