Custom list of Menu report items

This public forum is for user-to-user discussions of PHP Report Maker. Note that this is not support forum.

Custom list of Menu report items

Postby cplinta » Fri May 26, 2017 10:51 pm

I have an app with users of different types/privs.
I am not using the PHP Report Maker security features.
I want to control the list of reports that those different users see in the menu.

I know I can get that report access info into the report maker code by referencing $_COOKIE'[abc']
I just dont know where to put code to control which Reports are made accessible.

Can i do this?
cplinta
 
Posts: 6
Joined: Tue Aug 16, 2016 11:06 pm

Re: Custom list of Menu report items

Postby arbei » Sat May 27, 2017 10:01 am

You can add your code in MenuItem_Adding Server Event to control the menu items from displaying to the user or not.

Read help file topic: "Server Events and Client Scripts" -> "MenuItem_Adding" Server Event for more information.
arbei
 
Posts: 1491
Joined: Wed Sep 09, 2015 10:13 am


Return to General Discussion (PHP Report Maker)