From b7636ace69c0b8e9c664b4b428d0294c360bb49b Mon Sep 17 00:00:00 2001 From: Rodolphe Quiedeville Date: Fri, 10 Dec 2004 13:21:50 +0000 Subject: [PATCH] Modif gestion des permissions pour les fournisseurs adoption du nouveau modele --- htdocs/user.class.php | 20 -------------------- 1 file changed, 20 deletions(-) diff --git a/htdocs/user.class.php b/htdocs/user.class.php index aceec16ac69..3f8a8705e3f 100644 --- a/htdocs/user.class.php +++ b/htdocs/user.class.php @@ -485,26 +485,6 @@ class User $this->rights->contrat->desactiver = 1; } - if ($module == 'fournisseur' or $module == '') - { - if ($obj->fk_id == 181) - $this->rights->fournisseur->commande->lire = 1; - - if ($obj->fk_id == 182) - $this->rights->fournisseur->commande->creer = 1; - - if ($obj->fk_id == 183) - $this->rights->fournisseur->commande->valider = 1; - - if ($obj->fk_id == 184) - $this->rights->fournisseur->commande->approuver = 1; - - if ($obj->fk_id == 185) - $this->rights->fournisseur->commande->commander = 1; - - if ($obj->fk_id == 186) - $this->rights->fournisseur->commande->cloturer = 1; - } $i++; }