Ajoute les droits sur les commandes

This commit is contained in:
Rodolphe Quiedeville 2003-11-03 09:47:23 +00:00
parent a9cdc96152
commit 20f278d578

View File

@ -270,8 +270,21 @@ class User
if ($obj->fk_id == 44)
$this->rights->projet->supprimer = 1;
}
if ($module == 'commande' or $module == '')
{
if ($obj->fk_id == 81)
$this->rights->commande->lire = 1;
if ($obj->fk_id == 82)
$this->rights->commande->creer = 1;
if ($obj->fk_id == 89)
$this->rights->commande->supprimer = 1;
}
if ($module == 'adherent' or $module == '')
{