display-medicalSecurity & Data Access

Restrict access to metadata objects ..

circle-exclamation

Workshop - Securing the Metadata Model

SecurityOrder - constraints
file-download
138B

  1. Start Metadata Editor:

    circle-info

    Windows (PowerShell):

    circle-info

    Linux:

    1. Start the Pentaho Server (not required if using Pentaho Labs):

    circle-info

    Windows (PowerShell):

    circle-info

    Linux:

Follow the guide to apply security restrictions:

circle-info

Access Control List

You must know the base URL for the Pentaho BA Server (the default URL is http://localhost:8080/pentaho as well as the name of the service to execute security information retrieval (the service is ServiceAction).

The Pentaho Metadata Editor must be configured to connect to your BA Server so that it can retrieve usernames, roles, and access control lists. Follow the below directions to set up Metadata Editor.

ACL
  1. Go to the Tools menu, then select Security. The Security Service dialogue will appear.

  2. In the Service URL field, type in the base URL for the BA Server plus the security service.

  1. Next, select the level of detailed security information you want:

circle-info

All

Users

Roles

If you have hundreds of users in your system, you probably only want to return the roles, and use roles for security information properties. The access control lists are returned with all three options.

  1. In the Username and Password fields, type:

Username: admin

Password: password

  1. Click Test. A popup window with the returned XML should appear.

ACL list

circle-info

OrderSecurity

For clarity let's rename the current OrderStarModel to OrderSecurity. Remember its the name of the Business Models that is displayed as the Data Source.

  1. Open the OrderStarCustomer.

  2. Right-click on Business Models and select: Edit.

  1. Name the model OrderSecurity

  2. Click OK.


circle-info

Offline Access

If you want to work on your model and do not have access to the Pentaho Server, you can save your security information in a file. The Pentaho Metadata Editor retrieves your settings from the file instead of accessing the server every time you open your domain.

  1. After you click Test, Copy all the XML between the tags, including content the tags themselves.

  2. Paste the XML code into your favourite text editor, and save the file as metadata_security.xml, in a location of your choice.

  3. Click the File tab in the Security Service dialog box.

  4. Browse to the file that you just saved.

  5. Click OK to exit the dialog box.

Was this helpful?