From c3ee3d45766bd970100ced949498faa9dbe4716e Mon Sep 17 00:00:00 2001 From: Rodolphe Quiedeville Date: Fri, 10 Sep 2004 15:01:18 +0000 Subject: [PATCH] Ajout permissions pour la telephonie --- htdocs/user.class.php | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/htdocs/user.class.php b/htdocs/user.class.php index 09caa999758..74b77c5f6fd 100644 --- a/htdocs/user.class.php +++ b/htdocs/user.class.php @@ -443,6 +443,15 @@ class User $this->rights->caisse->configurer = 1; } + if ($module == 'telephonie' or $module == '') + { + if ($obj->fk_id == 141) + $this->rights->telephonie->lire = 1; + + if ($obj->fk_id == 142) + $this->rights->telephonie->modifier = 1; + + } $i++;