[Mondrian] Measure grants

Julian Hyde jhyde at pentaho.com
Wed Oct 10 19:47:01 EDT 2012

On Oct 10, 2012, at 11:33 AM, William Back <wback at pentaho.com> wrote:

> Just wanted to let you know that I tested with DimensionGrant, HierarchyGrant, and MemberGrant with measures.  Anything that causes measures to be completely restricted causes an exception.  One thing, however, is that everything loads in analyzer and the exception is thrown when something added to the canvas.  I don't know if this should be considered a bug or not, but it seems it should be caught earlier.

Agreed. I've fixed it (on lagunitas branch; see most recent AccessControlTest) so that it fails if Measures is not accessible or if Measures has no accessible members. It fails while setting up the internal evaluator context at the start of query evaluation -- as it should.


More information about the Mondrian mailing list