Jump to content
Changes to the Jaspersoft community edition download ×

norcenmarco

Members
  • Posts

    52
  • Joined

  • Last visited

Community Answers

  1. norcenmarco's post in Different home page was marked as the answer   
    I've find a solution:
    First create a new role on your organization and then create a user depending on that orgazationa and then assign to it the role created.
    Create a copy of the page homeForNonDemo.jsp and rename it <what-you-want>
    Then modify the home.jsp in this way:
     
    <authz:authorize ifAllGranted="ROLE_DEMO">
        <jsp:include page="homeForDemo.jsp"/>
    </authz:authorize>

    <authz:authorize ifAllGranted="PROVA|Da_Re">
       <jsp:include page="<what-you-want>.jsp"/>
    </authz:authorize>

    <authz:authorize ifNotGranted="ROLE_DEMO">
        <authz:authorize ifNotGranted="PROVA|Da_Re">
          <jsp:include page="homeForNonDemo.jsp"/>
       </authz:authorize>
    </authz:authorize>
     
    Hope this could help!!
×
×
  • Create New...