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?
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!