Ajout permissions pour la telephonie
This commit is contained in:
parent
135aed039d
commit
c3ee3d4576
@ -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++;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user