#1 2014-08-12 08:50:58

cheong wai kit
Member
Registered: 2014-08-11

Security Violation Error on "object details" tab.

Hi,

I have encounter an error for a user that i have created. Whenever i click on the report, the "object details" tab throws exception:-


Fehler: An error occured during report execution.
Security Violation
Im Falle eines nicht nachvollziehbaren Fehlers kontaktieren Sie bitte einen Administrator.
Details:
java.lang.RuntimeException: Security Violation at net.datenwerke.rs.core.server.reportexport.ReportExportServlet.validateRequest(ReportExportServlet.java:136) at
....


But if i login as root, its shows the report information.

http://snag.gy/dTLVB.jpg <-- login as root.
http://snag.gy/ZsiDc.jpg <-- login as normal user.

Thanks,
Kit.

Offline

#2 2014-08-12 15:16:07

Thorsten J. Krause
datenwerke
Registered: 2012-02-15
Website

Re: Security Violation Error on "object details" tab.

Hi Kit,
the object details view is just a report itself. So for users to be able to view it, the correct permissions need to be in place.
As this is a script report you have to set two kinds of permissions
(1) allow all users to execute the report
(2) allow all users to execute the respective script in /fileserver/bin

Cheers,
Thorsten

Offline

#3 2014-08-13 02:25:11

cheong wai kit
Member
Registered: 2014-08-11

Re: Security Violation Error on "object details" tab.

Hi Thorsten,

Can you help me here, the exception still persist.

http://snag.gy/eumsB.jpg <-- admin set report folder permission as read+execute.
http://snag.gy/2eabC.jpg <-- admin set fileserver/bin permission as 'full access'.
http://snag.gy/YVyT8.jpg <-- user 'wai kit' still shows the exception.

Thanks in advance,
kit

Offline

#4 2014-08-13 07:25:46

Arno Mittelbach
datenwerke
Registered: 2012-02-14

Re: Security Violation Error on "object details" tab.

Hi,

the failing report is the documentation report (key DOKUBERICHT by default) located within the folder "Scriptreports". The user needs to have execute rights for that report.

Cheers
Arno

Offline

#5 2014-08-13 09:36:17

cheong wai kit
Member
Registered: 2014-08-11

Re: Security Violation Error on "object details" tab.

Hi Arno,

Thanks, it works now.

Kit.

Offline

Board footer

Powered by FluxBB