Ajout permissions sur les expeditions

This commit is contained in:
Rodolphe Quiedeville 2003-11-10 10:50:14 +00:00
parent 438e347233
commit 4ea0fa2e95

View File

@ -288,6 +288,22 @@ class User
$this->rights->commande->supprimer = 1;
}
if ($module == 'expedition' or $module == '')
{
if ($obj->fk_id == 81)
$this->rights->expedition->lire = 1;
if ($obj->fk_id == 82)
$this->rights->expedition->creer = 1;
if ($obj->fk_id == 84)
$this->rights->expedition->valider = 1;
if ($obj->fk_id == 89)
$this->rights->expedition->supprimer = 1;
}
if ($module == 'adherent' or $module == '')
{