krigu Posted October 27, 2020 Share Posted October 27, 2020 Hi We are trying to view and manipulate the permissions of a single recipient according to the documentation: https://community.jaspersoft.com/documentation/tibco-jasperreports-server-rest-api-reference/v720/permissions-service#Viewing_a_Single_Permission). We are using Jasperserver 7.2.For the request without filtering (/rest_v2/permissions/REPORTS/sample_report) we get this response:<?xml version="1.0" encoding="UTF-8" standalone="yes"?><permissions> <permission> <mask>2</mask> <recipient>role:/organization_1/ROLE_EXAMPLE_1</recipient> <uri>/REPORTS/sample_report</uri> </permission></permissions>However we only want the view and manipulate the permissions for a single recipient and fired this request: /rest_v2/permissions/REPORTS/sample_report;recipient=role%2Forganization_1%2FROLE_EXAMPLE_1The result for this requests is a 404. We tried different formats and escapings for the recipient but none seems to work.We are running the requests with the jasperadmin user and basic auth.Thank you for your help,Chris Link to comment Share on other sites More sharing options...
krigu Posted October 28, 2020 Author Share Posted October 28, 2020 Same issue with Jasper 6.2.1 Link to comment Share on other sites More sharing options...
krigu Posted October 28, 2020 Author Share Posted October 28, 2020 After quite some time of debugging and checking Jasper permissions, we figured out that the problem was actually not with Jasperserver. The issue was caused by a frontal Apache (used as Load Balancer), which did return 404 for all requests containing escaped slashes. 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