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-serve...). 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_1
The 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
1 Answer:
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.
Same issue with Jasper 6.2.1