Ajout gestion des permissions sur le menu telephonie
This commit is contained in:
parent
e99b699b42
commit
eacb7938a9
@ -231,7 +231,7 @@ class MenuTop {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Entrée telephonie
|
// Entrée telephonie
|
||||||
if ($conf->telephonie->enabled)
|
if ($conf->telephonie->enabled && $user->rights->telephonie->lire)
|
||||||
{
|
{
|
||||||
$class="";
|
$class="";
|
||||||
if (ereg("^".DOL_URL_ROOT."\/telephonie\/",$_SERVER["PHP_SELF"]))
|
if (ereg("^".DOL_URL_ROOT."\/telephonie\/",$_SERVER["PHP_SELF"]))
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user