rslyung Posted January 27, 2016 Posted January 27, 2016 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
hozawa Posted January 27, 2016 Posted January 27, 2016 Have you checked JasperReports Server's REST v2 APIs?http://community.jaspersoft.com/documentation/tibco-jasperreports-server-web-services-guide/v62/v2permissions-service
rslyung Posted January 28, 2016 Author Posted January 28, 2016 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!
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now