Table of Contents

Permission - How to allow users editing of some EAVs

Since IdM version 8.2.0, it is possible to define permissions not only for identity as a whole, but also for individual attributes. This means that it is now possible for one user to view (or edit) all his attributes, and only one attribute for the other.

This tutorial shows how to set authorization policies for individual attributes.

Enable authorization policies

First of all you must enable authorization policies for identity EAV by this configuration - idm.sec.core.identity.formAttributes.secured=true (Settings → Configuration → Add new configuration item)

Add permissions to the userRole

UserRole is a special role that contains permissions for all users.

Add permissions to the userRole and select the form for which you want to manage authorization policies. (Roles → userRole → Permissions → Add new permission).

Add permissions for a specific attribute. Also can be used repeatedly for multiple attributes.

Example - One editable attribute

In the following example, we will show specific settings to allow the editing of one attribute - Data anonymization by which the user determines whether he wants to anonymize his data in the connected system or not. All other attributes are loaded from the connected system.

1.Enable authorization policies for identity EAV by this configuration - idm.sec.core.identity.formAttributes.secured=true (Settings → Configuration → Add new configuration item)

2.Add permissions to the userRole and select IdmIdentity form for which you want to manage authorization policies. (Roles → userRole → Permissions → Add new permission).

3.Add read permissions for all IdmIdentity form attributes.

4.Add edit and read permissions for a Data anonymization attribute.

5.That is all. Now users will only be able to edit this attribute.