Details

    • Notice:
      When an issue is open, the "Fix Version/s" field conveys a target, not necessarily a commitment. When an issue is closed, the "Fix Version/s" field conveys the version that the issue was fixed in.
    • Operating System/s:
      Windows 7

      Description

      I used mondrian-3.2.1.13885 with its roles support and it worked perfectly.
      After migration to version 3.3.0.14703 I discovered that for same schema configuration roles work with some problems.
      For example Role defined like this:

      <Role name="CALIFORNIA_MANAGER">
      <SchemaGrant access="all">
      <CubeGrant cube="Sales" access="all">
      <HierarchyGrant rollupPolicy="Partial" hierarchy="[Customers]" access="custom">
      <MemberGrant member="[Customers].[USA]" access="none"/>
      <MemberGrant member="[Customers].[USA].[CA]" access="all"/>
      </HierarchyGrant>
      </CubeGrant>
      </SchemaGrant>
      </Role>

      Example code:

      Cube cube = olapConnection.getOlapSchema().getCubes().get("Sales");
      Hierarchy hierarchy = cube.getHierarchies().get("Customers");
      Member defautlMember = hierarchy.getDefaultMember();

      For version 3.2.1.13885 defautlMember object refers to [Customers].[All Customers]
      For version 3.3.0.14703 defaultMember is null. Moreover hierarchy.getRootMembers() has member [Customers].[All Customers]
      but this member does not have any child member.
      In both cases I connect with XMLA with olap4j 1.0

      I discovered that rollupPolicy="Partial" brings these problems, but without this configuration we can not benefit data hiding:
      http://mondrian.pentaho.com/documentation/schema.php

      Maybe role managment differs somehow?
      Please share your suggestion about this case.

        Attachments

          Activity

            People

            • Assignee:
              wgorman Will Gorman (Inactive)
              Reporter:
              spychu Bartosz Spychaj
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: