From db051e1190b1dd3e974793ddc0ac2ad995fba56b Mon Sep 17 00:00:00 2001 From: Rodolphe Quiedeville Date: Mon, 25 Jul 2005 13:06:25 +0000 Subject: [PATCH] Ajout d'une permission --- htdocs/includes/modules/modPrelevement.class.php | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/htdocs/includes/modules/modPrelevement.class.php b/htdocs/includes/modules/modPrelevement.class.php index 093099531b0..193bf4ad149 100644 --- a/htdocs/includes/modules/modPrelevement.class.php +++ b/htdocs/includes/modules/modPrelevement.class.php @@ -97,10 +97,17 @@ class modPrelevement extends DolibarrModules $this->rights[3][0] = 153; $this->rights[3][1] = 'Consulter les bons de prélèvements'; $this->rights[3][2] = 'r'; - $this->rights[3][3] = 1; + $this->rights[3][3] = 0; $this->rights[3][4] = 'bons'; $this->rights[3][5] = 'lire'; + $this->rights[3][0] = 154; + $this->rights[3][1] = 'Créer un bon de prélèvement'; + $this->rights[3][2] = 'w'; + $this->rights[3][3] = 0; + $this->rights[3][4] = 'bons'; + $this->rights[3][5] = 'creer'; + }