Ajoute les droits sur les commandes
This commit is contained in:
parent
a9cdc96152
commit
20f278d578
@ -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 == '')
|
||||
{
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user