---
sourceDocument: Australia Platform security
sourceDocumentLink: https://servicenow-prod.fluidtopics.net/r/de-DE/platform-security

 Release :

    - australia

ft:locale :

    - de-DE

ft:publication_title :

    - Australia Platform security

ft:clusterId :

    - psec

bundleId :

    - psec

workflow :

    - Platform


---

# Prevent duplicate entries with Contextual Security: Role Management V2

# Prevent duplicate entries with Contextual Security: Role Management V2 {#ariaid-title1}

* Freigeben Version: Australia
* 
* Aktualisiert 12. März 2026
* 
* ![](https://www.servicenow.com/docs/portal-asset/ico-clock) 1 Minute Lesedauer

Roles inherited from other roles are added as individual entries in the User Roles table
\[sys_user_has_role\], potentially causing one role to have duplicate entries. Contextual Security:
Role Management V2 eliminates these duplicate entries and prevents future duplicates.

## Eliminate duplicate entries through inheritance count

Contextual Security: Role Management V2 uses the Inheritance Count (inh_count) column to track
the number of times a role is inherited from another role or group. In the User Roles
\[sys_user_has_role\] table, a user can inherit a specific role only one time, eliminating
duplicate entries. The Inheritance Count (inh_count) column is read-only and calculates the
number of times the user inherits a role.

## Activation changes {#Role-Mgmt-V2__section_gbx_hcv_xz}

Contextual Security: Role Management V2 is automatically installed on new instances and can be
activated for upgrades. When activated, Contextual Security: Role Management V2 replaces both
Contextual Security and Contextual Security: Role Management Enhancements.  
When Contextual Security: Role Management V2 is activated, the following columns are deprecated, but remain in the User Roles table for backward compatibility:

* granted_by (used only by Role Delegation)
* included_in_role
* included_in_role_instance
{#Role-Mgmt-V2__ul_eck_y33_hy}  
Warnung:  
If these columns are in use in any custom scripts on your instance, do not upgrade to Role Management V2.

## Visualize role inheritance through the Role Inheritance Map

The Role Inheritance Map displays a visual representation of inherited roles. You can use this map to understand the roles represented in the Inheritance Count (inh_count) column. To view the Role Inheritance Map, configure the User Roles \[sys_user_has_role\] table to display the Role Inheritance Map column.Abbildung : 1. Role Inheritance Map  
Hinweis:  
Concurrent update to group or role assignment may result in incorrect inheritance count. You must enable the `glide.security.inh_count_patcher.enabled` property to get the exact inheritance count.

