From af955527dd6d41c85edea938275a171409a36212 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Tue, 3 Aug 2004 22:28:54 +0000 Subject: [PATCH] Fix: Correction initialisation droits module caisse --- htdocs/user.class.php | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/htdocs/user.class.php b/htdocs/user.class.php index 478ba6858b6..fa7d6ac7467 100644 --- a/htdocs/user.class.php +++ b/htdocs/user.class.php @@ -359,6 +359,18 @@ class User $this->rights->banque->configurer = 1; } + if ($module == 'caisse' or $module == '') + { + if ($obj->fk_id == 131) + $this->rights->caisse->lire = 1; + + if ($obj->fk_id == 132) + $this->rights->caisse->modifier = 1; + + if ($obj->fk_id == 133) + $this->rights->caisse->configurer = 1; + } + if ($module == 'societe' or $module == '') { if ($obj->fk_id == 121)