Item actions and 'Right Click Menu' - Actions' are not replicated when using the 'Replicate Now' option on Security Roles
search cancel

Item actions and 'Right Click Menu' - Actions' are not replicated when using the 'Replicate Now' option on Security Roles

book

Article ID: 180306

calendar_today

Updated On:

Products

IT Management Suite

Issue/Introduction

 This article will help clarify why Item actions and 'Right Click Menu - Actions' are not replicated when using the 'Replicate Now' option on Security Roles.

Environment

ITMS 8.x

Resolution

Scenario:
Under the 'Privileges' tab of Security Roles, there are  'Right Click Menu - Actions' privileges for Default or Solutions Security roles and newly created roles are NOT replicated. 

Example steps:
1. Install Patch Management for Windows and Software Management Solution.
2) Select some 'Right Click Menu - Actions' privileges for Patch Admin role or even for any newly created roles.
3) Enable Security replication on Hierarchy.
4) Run replication schedule.
5) Go to the Child NS and make sure that the new security roles has been replicated.

Result: The new security roles are replicated to the child NS.  The privileges selected for the Patch role are also replicated from Parent NS. However, the 'Right-Click Menu - Actions' privileges are NOT selected at all in the Child NS (although some are selected on the parent NS).

Cause:
There is a common misconception that Item Actions and  'Right Click Menu - Actions' which exist in the 'Privileges' tab of security roles are privileges, when really they are items and therefore replicate via the Item replication functionality.

The 'Right-Click Menu' categories under the 'Privileges' tab of Security Roles are not actually privileges, they are Item actions. The replication of these occurs through standard Item replication, not security object replication.

Example of how these are replicated is below:

  • Parent and child in a hierarchy
  • Create a custom Security Role
  • Inside the privileges tab of the Role, enable > Right click Menu > ‘Add to Organizational group’

Note: When saved, this automatically grants Read permission to the Custom Security Role for the item action ‘Add to Organization Group’

These Item Actions exist under 'Settings > Notification Server > Security > Account Management > Roles > (select Security Role) > Right Click Menu -Action'. As soon as this new Read permission is assigned it creates an entry in the ‘HierarchySingularTask’ table at the parent as a ‘SecurityOnly’ change for that particular Item Action. During the next replication schedule run it will send the security changes tracked for that particular Item Action.

Note: You must have Item replication set to either ‘Custom’ or ‘All’. If Item replication is set to ‘None’, security changes on items are not replicated.

After Replication is complete you will notice that the 'Right Click Menu - Action' for ‘Add to organizational group’ is ticked within the Privileges tab of the Custom Security Role at the child.