From a86d16704848a93fe36d2700faba49de9cb5dce9 Mon Sep 17 00:00:00 2001
From: Rodolphe Quiedeville <rodolphe@quiedeville.org>
Date: Fri, 2 Sep 2005 11:26:50 +0000
Subject: [PATCH] Ajout d'une nouvelle permission

---
 htdocs/includes/modules/modTelephonie.class.php | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/htdocs/includes/modules/modTelephonie.class.php b/htdocs/includes/modules/modTelephonie.class.php
index 62726135afe..16d6aed1893 100644
--- a/htdocs/includes/modules/modTelephonie.class.php
+++ b/htdocs/includes/modules/modTelephonie.class.php
@@ -159,6 +159,15 @@ class modTelephonie extends DolibarrModules
 
     $r++;
 
+
+    $this->rights[$r][0] = 271;
+    $this->rights[$r][1] = 'Consulter le CA';
+    $this->rights[$r][2] = 'w';
+    $this->rights[$r][3] = 0;
+    $this->rights[$r][4] = 'ca';
+    $this->rights[$r][5] = 'lire';
+    $r++;
+
     $this->rights[$r][0] = 206;
     $this->rights[$r][1] = 'Consulter les liaisons';
     $this->rights[$r][2] = 'w';
-- 
GitLab