From 63466196d9ecc572ee2515ca57ec07673568d49a Mon Sep 17 00:00:00 2001 From: Rodolphe Quiedeville Date: Fri, 3 Dec 2004 12:33:11 +0000 Subject: [PATCH] =?UTF-8?q?Ajout=20permission=20sur=20la=20cr=E9ation=20de?= =?UTF-8?q?=20ligne?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- htdocs/includes/modules/modTelephonie.class.php | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/htdocs/includes/modules/modTelephonie.class.php b/htdocs/includes/modules/modTelephonie.class.php index 2b550c02839..170426bdcec 100644 --- a/htdocs/includes/modules/modTelephonie.class.php +++ b/htdocs/includes/modules/modTelephonie.class.php @@ -114,6 +114,13 @@ class modTelephonie extends DolibarrModules $this->rights[5][4] = 'fournisseur'; // La permission est-elle une permission par défaut $this->rights[5][5] = 'config'; // La permission est-elle une permission par défaut + $this->rights[6][0] = 192; + $this->rights[6][1] = 'Creer des lignes'; + $this->rights[6][2] = 'w'; + $this->rights[6][3] = 0; + $this->rights[6][4] = 'ligne'; + $this->rights[6][5] = 'creer'; + // Dir $this->dirs[0] = DOL_DATA_ROOT . "/telephonie/" ; $this->dirs[1] = DOL_DATA_ROOT . "/telephonie/ligne/" ;