From 624cc8a24911d90cfa0e2953fb977a574ea72353 Mon Sep 17 00:00:00 2001 From: jlb Date: Mon, 15 Sep 2003 15:31:26 +0000 Subject: [PATCH] rajout des droits adherents --- htdocs/user.class.php | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) 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++; }