API/SQL for retrieving UserRole/User's access right for report repository

0

I am using Jaspersoft community edition 6.2. I have already setup a CAS authentication and retrieve user roles from an external data source. So that, if we need to create new user, we can use program to insert record in external data source and do not need to add user in Jaspersoft admin page manually.

However, while we are assigning UserRole for new users, we would like to know the access right of that UserRole. Instead of going to Jaspersoft admin page and check the access right of each folder, are there any way/API for retrieving UserRole/User's access right for all report repository? 

Many thanks!

Regards,

Roy

rslyung's picture
Joined: Jan 26 2016 - 7:23pm
Last seen: 2 years 10 months ago

2 Answers:

0

Have you checked JasperReports Server's REST v2 APIs?

http://community.jaspersoft.com/documentation/tibco-jasperreports-server...

hozawa's picture
54688
Joined: Apr 24 2010 - 4:31pm
Last seen: 6 months 1 week ago
0

Thanks hozawa!

I have checked on that APIs, it can retrieve user role access right of a specific resource (e.g. folder or report in Jaspersoft server). The input and output are as follow:

 - Input: resource

- Output: access right of user role/user

 

However,  what I need is to retreive resource of a specific user role. The input and output are as follow:

 - Input: user role

 - Output: resource of the role

 

Seems those API cannot provide the information that I need. Appreicate if anyone can provide some input. Many thanks!

rslyung's picture
Joined: Jan 26 2016 - 7:23pm
Last seen: 2 years 10 months ago
Feedback