---
title: Managing Role Claims
---

## Enabling Feature

From AdminUI for Duende 10 a new feature was added to enable management of claims assigned to roles. By default this feature is disabled but if you require it you can turn it on via the `EnableRoleClaims` feature flag.

## Adding Claim

Under the roles tabs navigate to additional details tabs under the roles tab and then click the add button.

![Add Claim Button](./img/role_claim_add_btn.png)

A modal should then appear where you can select a claim type, and then a value for the claim. Once done click add and the claim list should be updated.

![Add Claim Modal](./img/role_claim_add_modal.png)

## Editing Claim

If you with to edit a claim under the additional details tab under the role you are editing you will see a pencil icon near each of the items assigned to a role. To edit an item click this icon and the list should change to allow you to change the value.

![Pencil Icon](../img/pencil-icon.png)

![Edit Claim Value](./img/role_claim_edit_mode.png)

## Removing Claim

To remove a claim from a role you should see a cross icon next to the pencil icon on each item in the list. Click this button and then you should see a confirmation modal checking you want this action to continue.

![Cross Icon](../img/cross-icon.png)

![Remove Claim Modal](./img/role_claim_delete_modal.png)