From c5fb4bc894d38dea1159438079b0d1cb2edbde13 Mon Sep 17 00:00:00 2001 From: Regis Houssin Date: Tue, 7 Mar 2006 12:30:09 +0000 Subject: [PATCH] =?UTF-8?q?Ajout=20de=20la=20permission=20"consulter=20tou?= =?UTF-8?q?s=20les=20clients"=20dans=20le=20module=20commercial,=20afin=20?= =?UTF-8?q?=20qu'un=20commercial=20puisse=20voir=20que=20les=20clients=20q?= =?UTF-8?q?ui=20lui=20sont=20affect=E9s.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- htdocs/includes/modules/modCommercial.class.php | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/htdocs/includes/modules/modCommercial.class.php b/htdocs/includes/modules/modCommercial.class.php index b6da9954c0d..559cde1695f 100644 --- a/htdocs/includes/modules/modCommercial.class.php +++ b/htdocs/includes/modules/modCommercial.class.php @@ -92,6 +92,15 @@ class modCommercial extends DolibarrModules $this->rights[$r][4] = 'main'; $this->rights[$r][5] = 'lire'; $r++; + + // 262 : Permission générale + $this->rights[$r][0] = 262; + $this->rights[$r][1] = 'Consulter tous les clients'; + $this->rights[$r][2] = 'r'; + $this->rights[$r][3] = 0; + $this->rights[$r][4] = 'main'; + $this->rights[$r][5] = 'voir'; + $r++; } /**