diff --git a/htdocs/user.class.php b/htdocs/user.class.php index 1e0e14c4b2a..c12f89f4160 100644 --- a/htdocs/user.class.php +++ b/htdocs/user.class.php @@ -271,6 +271,22 @@ class User if ($obj->fk_id == 44) $this->rights->projet->supprimer = 1; + } + if ($module == 'adherent' or $module == '') + { + + if ($obj->fk_id == 71) + $this->rights->adherent->lire = 1; + + if ($obj->fk_id == 72) + $this->rights->adherent->creer = 1; + + if ($obj->fk_id == 73) + $this->rights->adherent->modifier = 1; + + if ($obj->fk_id == 74) + $this->rights->adherent->supprimer = 1; + } $i++; }