Ajout des permissions sur les societes
This commit is contained in:
parent
1fd3e13445
commit
dd95d82afb
@ -357,8 +357,20 @@ class User
|
|||||||
|
|
||||||
if ($obj->fk_id == 113)
|
if ($obj->fk_id == 113)
|
||||||
$this->rights->banque->configurer = 1;
|
$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++;
|
$i++;
|
||||||
}
|
}
|
||||||
$this->db->free();
|
$this->db->free();
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user