Defining access control at the element level (access control annotation) - Cloud - 7.3

Talend Studio User Guide

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
Talend Studio
Design and Development
Last publication date
Available in...

Data Fabric

MDM Platform

Access control is handled inside the data model through setting up specific annotations. The following example introduces how to define access control at the element level.

Before you begin

  • You have created the data model DStar which holds an entity Agent.

  • You have added elements to the Agent entity.

  • You have created a new custom role called General_Manager.

About this task

In this example, you want to grant the role General_Manager a write access only to the CommissionCode element in the Agent entity.


  1. In the Data Model Entities area, click the element CommissionCode in the Agent entity.
  2. From the Properties view, select the Access rights tab.
  3. Click the down arrow to show the list of roles defined in the Studio.
  4. Select the role you want to grant the write access and then click the [+] button to add the role to the Roles list.

    For a foreign key element with the Maximum Occurrence value set to a number greater than 1 or set to -1 (which means its maximum number of occurrences is not bounded), you can grant each role the add access and the remove access separately, and the dialog box will look like below.

    A role with the write access to an element allows you to add and remove the value of that element through Talend MDM Web UI. A role with only the add or remove access to a foreign key element allows you to only add or remove the value of that foreign key element through Talend MDM Web UI.

    By default, the Set role recursively check box is selected. This will propagate the security setting to all subelements of the selected node.
  5. Press Ctrl+S to save your changes.