How to provide access to report before its execution ?



I have big users database.

I need to provide access to selected reports some users in JasperServer. Is it possible to pass some parameter before report execution ?

Or maybe there is some event handler or something like trigger on starting report ?

I do this with LoggedInUser parameter in report, but all users can open this report. Those who are denied access see the empty report, but I need to prevent them from seeing it.

Please help me, how can I solve this problem ?

sustain_1's picture
Joined: Jan 21 2019 - 12:03pm
Last seen: 2 days 5 hours ago

2 Answers:


Assigning privlleges to a report per user or using a role should prevent user from accessing a report.


hozawa's picture
Joined: Apr 24 2010 - 4:31pm
Last seen: 7 hours 31 min ago

Set the permission to report repository object to No Access for the roles and users you don't want running the report.

Friendly User's picture
Joined: Oct 8 2009 - 5:59am
Last seen: 20 hours 50 min ago