khath Posted May 14, 2019 Share Posted May 14, 2019 Hi - I am having a hard time managing the permissions in Jaspersoft Server in the "Public" folder in particular. I would like to be able to run an audit and list out each folder and all the roles with their permission level. for example: Public OrgFolder 1Role_User_1 = read/writeRole_User_2 = administer Role User 3 = read Folder 2Role_User_1 = no accessRole_User_2 = no access Role User 3 = read And so on. Is there a way to do this? Link to comment Share on other sites More sharing options...
joseng62 Posted May 16, 2019 Share Posted May 16, 2019 Your best bet is to utilized the RESPv2 API Wont give you all folders at once, but you can write program to do multiple requests for you and store the payloads received. Document : JasperReports-Server-REST-API-Reference.pdfLook at section 9.2 Viewing Multiple PermissionsYou can use a GET request with given url http://<host>:<port>/jasperserver[-pro]/rest_v2/permissions/path/to/resource/?<arguments>Set argument resolveAll to ture - so you can see allThen make use of recipientType, first use 'user' and then do second request as 'role'. I would have done it this why. First run is to create program to collect all returned request in a catagorical, input would be the resource path locations and iterate through them,But still good idea maybe to add something like this as a visual represetative to jasperserver, maybe log a feature request. Link to comment Share on other sites More sharing options...
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