Ajout permissions pour la telephonie

This commit is contained in:
Rodolphe Quiedeville 2004-09-10 15:01:18 +00:00
parent 135aed039d
commit c3ee3d4576

View File

@ -443,6 +443,15 @@ class User
$this->rights->caisse->configurer = 1;
}
if ($module == 'telephonie' or $module == '')
{
if ($obj->fk_id == 141)
$this->rights->telephonie->lire = 1;
if ($obj->fk_id == 142)
$this->rights->telephonie->modifier = 1;
}
$i++;