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.
- In the Data Model Entities area, click the element CommissionCode in the Agent entity.
From the Properties view, select the
Access rights tab.
- Click the down arrow to show the list of roles defined in the Studio.
Select the role you want to grant the write access and then click the
[+] button to add the role to the
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.
- Press Ctrl+S to save your changes.