Jump to content
Changes to the Jaspersoft community edition download ×

colin.gardner

Members
  • Posts

    4
  • Joined

  • Last visited

 Content Type 

Profiles

Forum

Events

Featured Visualizations

Knowledge Base

Documentation (PDF Downloads)

Blog

Documentation (Test Area)

Documentation

Dr. Jaspersoft Webinar Series

Downloads

Everything posted by colin.gardner

  1. I recently installed a new instance of Jasperserver and I am trying to create a new theme. However, when I try to activate my theme, I get the error below. I am able to activate the themes that come with Jasperserver, but if I make a copy of a theme without any changes, I get the error again.
  2. Yes it's the same JRS version 5.6 commercial as well as same OS. and I'm simply using internal authentiation. I am able to login but when I try to view the repository or other actions is when I get the authentication error.
  3. I am trying to move my instance from one server to another, but when I import the .zip file into the new instance I keep getting errors saying "org.springframework.security.AccessDeniedException: Access is denied". Also, several of the links on the homepage are missing as shown in the attached screenshot. I did change the applicationContext_security.xml files for both of the servers so that the keyByte values match. Why am I getting authorization issues?
  4. I am working on creating my first security file and could please use some help. I am using the AdventureWorks sample data set, and created a Domain called 'Internet_Sales'. I am trying to create a row level security file so that the user 'cust1US' who is in the role 'ROLE_CUST1_OPS_US' can only see sales within the United States. I created attributes for the 'cust1US' user so Country Name and the attribute value of 'United States'. My security file XML is below, but isn't working properly. Could somebody please help me understand why it isn't working? <securityDefinition xmlns="http://www.jaspersoft.com/2007/SL/XMLSchema" version="1.0" itemGroupDefaultAccess="granted"> <resourceAccessGrants> <!-- Row level security --> <!-- What access do roles/users have to the rows in the resource? --> <resourceAccessGrantList id="sales_join" label="aLabel" resourceId="JoinTree_1"> <resourceAccessGrants> <!-- This "join" will always be made when a query includes at least 1 item from this resource, even when the query does not include the related dataSet. --> <resourceAccessGrant id="expense_join_ROLE_CUST1_OPS_US_store_row_grant" ><principalExpression>authentication.getPrincipal().getRoles().any{ it.getRoleName() in ['ROLE_CUST1_OPS_US'] } </principalExpression><filterExpression>customer1_dimgeography.englishcountryregionname == ('United States') <!-- customer1_dimgeography.englishcountryregionname == (groovy('authentication.getPrincipal().getAttributes().find{ it.attrName == "CountryName" }.attrValue')) --></filterExpression></resourceAccessGrant> </resourceAccessGrants> </resourceAccessGrantList> </resourceAccessGrants> <!-- Column level grants --> </securityDefinition>[/code]
×
×
  • Create New...