1 (edited by evilive 08/23/2011 08:29:29 am)

Topic: report $page_security

I have created an extension and reporting folder

/modules/extension_name/reporting/

I put all my custom reports in that reporting folder. All the report previously set up with :

$page_security = 'SA_OPEN';

As expected I don't have problem ti view/access all those reports. But when i changed the page security to :

$page_security = 'SA_REPORT_VIEW';

I received the following error message :
The security settings on your account do not permit you to print this report

But I have setup/hook necessary security setting and have enable/activate it. In my hooks.php file i have included the security area as follows :

'SA_REPORT_VIEW' => array(SS_HR_EXTS|50, "Report - view"),

When I used FA security area :

$page_security = 'SA_GLANALYTIC';

Don't have problem at all.

Is this a bug or am I missing something.

Re: report $page_security

I'm having the same issue , any idea or hint ?

Re: report $page_security

Put all your custom reports in the company/#/reporting folder if you want it for a specific company alone. There will also be a need to put in form parameters for the report in the reports_main.inc file. Have a look at how the reports are made in the existing extensions expanded out in my GitHub repo.