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

andrewsok

Members
  • Posts

    38
  • Joined

  • Last visited

Community Answers

  1. andrewsok's post in Domain Security using tenantId was marked as the answer   
    I am not sure whether you posted a full version of your security file, or just part of it, but it is incorrect from XML and XSD point of view (which very likely is what is causing the error).
    Here is the valid version, please, try it.
    Code:<securityDefinition xmlns="http://www.jaspersoft.com/2007/SL/XMLSchema" version="1.0" itemGroupDefaultAccess="granted"> <resourceAccessGrants> <resourceAccessGrantList id="JoinTree_1_grantList" label="aLabel" resourceId="JoinTree_1"> <resourceAccessGrants> <resourceAccessGrant id="JoinTree_1_grant"> <principalExpression>authentication.getPrincipal().tenantId != null</principalExpression> <filterExpression>TableName.OwnerID in (groovy('authentication.principal.tenantId.toUpperCase()'))</filterExpression> </resourceAccessGrant> </resourceAccessGrants> </resourceAccessGrantList> </resourceAccessGrants></securityDefinition>
×
×
  • Create New...