Enabling Feature
From AdminUI for OpenIddict 3 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.
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.
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.
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.