Jump to content
Changes to the Jaspersoft community edition download ×

mundrameenaxi

Members
  • Posts

    33
  • Joined

  • Last visited

mundrameenaxi's Achievements

Contributor

Contributor (5/14)

  • Week One Done
  • One Month Later
  • One Year In
  • First Post Rare
  • Collaborator Rare

Recent Badges

0

Reputation

1

Community Answers

  1. Try editing actionModel-navigation.xml. You can define here which roles should be able to see what menus. <context name="main_manage_mutton" test="checkAuthenticationRoles" testArgs="ROLE_ADMINISTRATOR> you can add your test condition if a perticular role should not see the users and roles menu. <option labelKey="menu.users" action="primaryNavModule.navigationOption" actionArgs="user"/> <condition test="!banUserRole"> <option labelKey="menu.roles" action="primaryNavModule.navigationOption" actionArgs="role"/> </condition> and then on applicationContext-security.xml you can add your role to whichever flow you want <bean id="flowVoter" class="com.jaspersoft.jasperserver.api.security.FlowRoleAccessVoter"> <property name="flowAccessAttribute" value="FLOW_ACCESS"/> <property name="flowDefinitionSource"> <value> repoAdminFlow=ROLE_ADMINISTRATOR userListFlow=ROLE_ADMINISTRATOR roleListFlow=ROLE_ADMINISTRATOR editFolderFlow=ROLE_ADMINISTRATOR fileResourceFlow=ROLE_USER,ROLE_ADMINISTRATOR listOfValuesFlow=ROLE_USER,ROLE_ADMINISTRATOR reportDataSourceFlow=ROLE_USER,ROLE_ADMINISTRATOR inputControlsFlow=ROLE_USER,ROLE_ADMINISTRATOR tenantFlow=ROLE_ADMINISTRATOR addDataSourceFlow=ROLE_ADMINISTRATOR,ROLE_NEWROLE userEditFlow=ROLE_ADMINISTRATOR roleEditFlow=ROLE_ADMINISTRATOR queryReferenceFlow=ROLE_ADMINISTRATOR searchFlow=ROLE_USER,ROLE_ADMINISTRATOR docSampleFlow=ROLE_ADMINISTRATOR *=ROLE_USER,ROLE_ADMINISTRATOR </value> </property> </bean>
  2. Along with actionModel-navigation.xml , tou also need to edit applicationContext-security.xml file where you need to add the role to the flow userListFlow,roleListFlow
  3. Hi, I am able to create a user/role which can create users and role evne if they are non admin user. But now I want to restrict this user to assign ROLE_ADMINISTRATOR to any user and unable to edit any user who has role ROLE_ADMINISTRATOR
  4. We recently faced OutOfMemoryError-java heap space issue and had to restart the server. When looking at log we found the attached error I assume the error was due to report couldn't be printed on preview section as it didnot find enough memory on system Need expert advise. please help. We checked the hprof file and could lead to the issue as below One instance of "org.apache.jasper.runtime.BodyContentImpl" loaded by "java.net.URLClassLoader @ 0x734cd9588" occupies 570,425,408 (33.03%) bytes. The memory is accumulated in one instance of "char[]" loaded by "<system class loader>".
  5. I need to disable the timezone conversion on input controls on 7.2. Is there a way to do so?
  6. HI I have a report,input control and a query in repository. How do I pass the input control to repository query?
  7. mlopez - this was working fine in 6.4 , but with 7.2 this isn't working. we have 100's of existing reports where java.sql.timestamp is the field type. changing each report is not feasible.
  8. On jasperserver 7.2 when the field of a report is of type jasva.sql.timestamp, its rendering is not correct in UI. DB- 2/5/12 05:42 PM UI - 12-42-05 17:42:24 This was working fine in 6.4. Even w/o specifying date format on field in jasper report. Actually minutes are showing in place of months. Report SQL give me correct data, but when same is not seen on jasperserver
  9. Did u try using "print repeated values" properties in jasperreports?
  10. Hi, I have installed Jasperserver 7.2 community version . While changing the pemission for particular role/user, I see the Read + Write+ Delete permission is visible twice. Please see the screenshot attached .
×
×
  • Create New...