Modif permissions pour la gestion des contrats
This commit is contained in:
parent
eaffde7635
commit
2056eb4298
@ -461,6 +461,21 @@ class User
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
if ($module == 'contrat' or $module == '')
|
||||||
|
{
|
||||||
|
if ($obj->fk_id == 161)
|
||||||
|
$this->rights->contrat->lire = 1;
|
||||||
|
|
||||||
|
if ($obj->fk_id == 162)
|
||||||
|
$this->rights->contrat->creer = 1;
|
||||||
|
|
||||||
|
if ($obj->fk_id == 163)
|
||||||
|
$this->rights->contrat->activer = 1;
|
||||||
|
|
||||||
|
if ($obj->fk_id == 164)
|
||||||
|
$this->rights->contrat->desactiver = 1;
|
||||||
|
}
|
||||||
|
|
||||||
$i++;
|
$i++;
|
||||||
}
|
}
|
||||||
$this->db->free();
|
$this->db->free();
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user