Skip to content
Snippets Groups Projects
Commit 5f197fa5 authored by Rodolphe Quiedeville's avatar Rodolphe Quiedeville
Browse files

Modif permissions

parent 821fe685
No related branches found
No related tags found
No related merge requests found
......@@ -66,7 +66,8 @@ function llxHeader($head = "", $title="") {
if ($user->rights->telephonie->fournisseur->lire)
$menu->add(DOL_URL_ROOT."/telephonie/fournisseur/", "Fournisseurs");
$menu->add(DOL_URL_ROOT."/telephonie/ca/", "Chiffre d'affaire");
if ($user->rights->telephonie->ca->lire)
$menu->add(DOL_URL_ROOT."/telephonie/ca/", "Chiffre d'affaire");
left_menu($menu->liste);
}
......
......@@ -24,7 +24,7 @@ require("./pre.inc.php");
$page = $_GET["page"];
$sortorder = $_GET["sortorder"];
if (!$user->rights->telephonie->lire)
if (!$user->rights->telephonie->ligne_commander)
accessforbidden();
llxHeader('','Telephonie - Ligne - Commande');
......
......@@ -21,6 +21,8 @@
*/
require("./pre.inc.php");
if (!$user->rights->telephonie->ligne_commander)
accessforbidden();
$page = $_GET["page"];
$sortorder = $_GET["sortorder"];
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment