Ajout des permissions sur les societes

This commit is contained in:
Rodolphe Quiedeville 2004-07-13 16:10:32 +00:00
parent 1fd3e13445
commit dd95d82afb

View File

@ -357,8 +357,20 @@ class User
if ($obj->fk_id == 113)
$this->rights->banque->configurer = 1;
}
if ($module == 'societe' or $module == '')
{
if ($obj->fk_id == 121)
$this->rights->societe->lire = 1;
if ($obj->fk_id == 122)
$this->rights->societe->creer = 1;
if ($obj->fk_id == 129)
$this->rights->societe->supprimer = 1;
}
$i++;
}
$this->db->free();