Jump to content
We've recently updated our Privacy Statement, available here ×

Single permission recipient


krigu

Recommended Posts

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_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
 

Link to comment
Share on other sites

  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

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

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...