Jump to content

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


rslyung

Recommended Posts

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

Link to comment
Share on other sites

  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

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!

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...