For the complete documentation index, see llms.txt. This page is also available as Markdown.

Mondrian Security

RBAC in Mondrian ..

Workshop - Mondrian Security


Overview Security Concepts

Before implementing security, it's important to understand the hierarchy of security grants in Mondrian:

Grant Type
Description

SchemaGrant

Controls access to the entire schema

CubeGrant

Controls access to individual cubes within a schema

DimensionGrant

Controls access to entire dimensions

HierarchyGrant

Controls access to hierarchies and can restrict by level (topLevel, bottomLevel)

MemberGrant

Controls access to specific members within a hierarchy


  1. Start Schema Workbench:

Windows (Powershell):

Linux:

  1. Ensure Pentaho Server is running:

Setup

Let's drill down even further ..!

The Regional Manager should only see data for the Western USA region, states that include California, Oregon, and Washington.

Users & Roles

We will create several test users to demonstrate different security scenarios:

Username
Role
Purpose

exec_user

Executive

Full access to all data

sales_mgr

Sales Manager

Access to sales cube only

region_mgr

Regional Manager

Limited to specific regions only

analyst

Analyst

Summary data only, no detailed records

  1. Log into Pentaho User Console as Administrator.

Username: admin

Password: password

  1. Navigate to Administration Perspective from the drop-down menu.

  2. Select Users & Roles > Manage Users.

  3. Click on the + sign to create each user from the table above with password: password

Add Users
  1. Navigate to Users & Roles > Manage Roles

  2. Assign the following Roles / Permissions to the User:

Role
Permissions
User

Executive

All the permissions

exec_user

Sales Manager

Schedule Content

Read Content

Publish Content

Create Content

Execute

sales_mgr

Regional Manager

Schedule Content

Read Content

Publish Content

Create Content

Execute

region_mgr

Analyst

Publish Content

Create Content

analyst

Assign Roles / Permissions to User

Was this helpful?