Skip to main content
Hitachi Vantara Lumada and Pentaho Documentation

Add Global Row-Level Security Constraints

You need to have established a connection to a data source in Metadata Editor and selected one or more tables to create metadata for.

A global constraint is an MQL Formula statement that institutes a global restriction on the data you specify, down to the row level. Follow the below instructions to add custom global user- or role-based restrictions to your data source.

  1. In the left pane, right-click the table or column you want to modify, then click Edit.. from the context menu. The Physical Table Properties dialogue will appear.
  2. Click the green + icon above the Available field in the middle of the screen. The Add New Property dialogue will appear.
  3. Select Data Constraints, then click OK.
  4. Click the new Data Constraints item in the General category.
  5. Select the Global Constraint option in the right pane.
  6. Type in your constraint in the provided text box.
  7. Change any other relevant metadata options, then click OK to return to the Metadata Editor main window.
  8. When you are finished, save the metadata configuration as a domain using the Save As button, then publish it to the Pentaho Server as an XMI schema by selecting Publish from the File menu.