[Mondrian] Role "No HR Cube" can select against HR cube

Richard Emberson remberson at edgedynamics.com
Wed Mar 28 17:24:07 EDT 2007


While looking into Roles (and having added a command-line
option to the CmdRunner, '-r role_name', allowing one
to set a role name from the command line) I discovered that
the query:

select {[Measures].[Org Salary]} on ROWS from HR;

returns:

Axis #0:
{}
Axis #1:
{[Measures].[Org Salary]}
Row #0: $39,431.67

regardless of whether one has no role or if one has the
role 'No HR Cube'.

Is this correct behavior?

Richard

-- 
Quis custodiet ipsos custodes:
This email message is for the sole use of the intended recipient(s) and
may contain confidential information.  Any unauthorized review, use,
disclosure or distribution is prohibited.  If you are not the intended
recipient, please contact the sender by reply email and destroy all
copies of the original message.



More information about the Mondrian mailing list