This topic is locked
[SOLVED]

Permission to this menu item

9/29/2021 10:19:47 AM
PHPRunner General questions
M
m.salahi author

hi every one ...
i create new menu item
link type : external page

but the link it is display to every one

how i can make Permission to this menu item

img alt

admin 9/29/2021

Yes, since this is an external item, PHPRunner would not know how to assign permissions. As Pete suggests, use menuItemModify event to hide this menu item conditionally.

M
m.salahi author 9/29/2021

thanks
pete , admin to help me
the Permission is work perfect
i but the event inside
Menu Item: Modify event.

if ($_SESSION["GroupID"]!="100")
{
$title = $menuItem->getTitle();
if ($title=="التقارير")
return false;
}

thanks a lot