Attaching Views to user roles: record-level security - Cloud - 7.3

Talend Studio User Guide

Version
Cloud
7.3
Language
English
Product
Talend Big Data
Talend Big Data Platform
Talend Cloud
Talend Data Fabric
Talend Data Integration
Talend Data Management Platform
Talend Data Services Platform
Talend ESB
Talend MDM Platform
Talend Real-Time Big Data Platform
Module
Talend Studio
Content
Design and Development
Last publication date
2024-02-13
Available in...

Data Fabric

MDM Platform

As outlined in Creating a View, you can easily create Views over one or multiple business entities held in a specific data model. Once a View is created, you can attach it to a specific user role in Talend Studio in order to filter the records that are accessible for this user role.

Later when this role is assigned to a user through Talend MDM Web UI, this user will be able to visualize specific records in business entities according to the criteria defined in the View itself.

Views then can filter data on its content before delivering it to a specific user and thus make it possible to give access to data according to the user responsibilities and information to which he/she requires access.

Prerequisite(s): You have already connected to the MDM server from Talend Studio. At least one View and one user role have been created.

To attach a specific View to a specific user role, do the following:

  1. In the MDM Repository tree view, expand Role and browse to the role to which you want to attach one or more Views and then double-click it.

    The corresponding role editor displays.

    Note: You can always select the Admin Permissions On All Instances check box if you want to grant the selected user role a Read & Write permission on all data objects (administrator permissions).
  2. From the Object Type list, select View.

  3. If you want to grant the selected role access permission on all listed Views, type Browse_items_.* in the Read and Write Permissions On Specific Instances field.

  4. Select access type (Read Only or Read & Write) and then click the button to add the access parameter to the table below.

    This will grant the selected role access to data through all created Views.

  5. If you want to grant the selected role access permission according to a specific View, select from the Read and Write Permission On Specific Instances list the required View.

  6. Select access type (Read Only or Read & Write) and then click the button to add the access parameter to the table below.

    This will grant the selected role access to data according to the criteria defined in the selected View.

    Note: You can right-click the access parameter and select Delete the selected item(s) to delete the parameter from the table.

From this editor, you can also modify access parameters for the selected role through modifying the criteria of the selected View.

To modify access parameters for the selected user role, do the following:

  1. Double-click the selected View to open a table. Here you can set new WHERE conditions to restrict access in the View.

  2. Set the xpath filter according to the business needs and as outlined in Creating and defining a simple View.

    In this example, you want to restrict the access of the Country_Manager_UK role only to agencies based in the United Kingdom.

  3. Save your changes.

    Whenever the Country_Manager_Role is assigned to a specific user in Talend MDM Web UI, this user will have a read and write access only to agencies based in the United Kingdom.