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)