Hi,
I would like to understand the correct usage/implementation of SecurityActions and GENERIC_READ or GENERIC_WRITE in a Management Client Plugin.
We create a new ItemNode without security actions in the first place. But when we start the Management Client and when we switch to the Overall Security tab in the Roles config for a ‘Basic user’, (SECURITY→ROLES→→OVERALL SECURITY) we see the following error:
TITLE: Milestone XProtect Management Client 2025 R3
Could not retrieve information for the security action GENERIC_READ.
ADDITIONAL INFORMATION:
VMO60013: Could not retrieve information for the security action GENERIC_READ. (mscorlib)
BUTTONS:
OK
When we create the item node like shown below:
ItemNode myItem =
new(
id: managementClientSettingsPluginGuid,
parentId: Guid.Empty,
nodeText: this.Name,
image: this.Icon,
nodeTextMultiple: this.Name,
imageMultiple: this.Icon,
category: Category.Server,
selectable: true,
itemsAllowed: ItemsAllowed.None,
itemManager: this.myItemManager,
itemNodes: null,
securityActions: null,
contextMenu: null,
customData: null,
placementHint: PlacementHint.Basics);
But when we then add security actions like below:
List<SecurityAction> securityActions = new List<SecurityAction>
{
new SecurityAction("GENERIC_WRITE", "Manage"),
new SecurityAction("GENERIC_READ", "Read"),
};
ItemNode myItem =
new(
id: managementClientSettingsPluginGuid,
parentId: Guid.Empty,
nodeText: this.Name,
image: this.Icon,
nodeTextMultiple: this.Name,
imageMultiple: this.Icon,
category: Category.Server,
selectable: true,
itemsAllowed: ItemsAllowed.None,
itemManager: this.myItemManager,
itemNodes: null,
securityActions: securityActions,
contextMenu: null,
customData: null,
placementHint: PlacementHint.Basics);
we get the following error during the Management Client startup
TITLE: InitItemManagers ()
PATCH Unexpected statuscode BadRequest in ‘http://win-d69ff5p1p4r/API/rest/v1/mipKinds/7de025db-8a5f-4743-9973-a076f5a066ee’ - Modifying order of MIP SecurityAction list is not supported for already defined SecurityActions
ADDITIONAL INFORMATION:
PATCH Unexpected statuscode BadRequest in ‘http://win-d69ff5p1p4r/API/rest/v1/mipKinds/7de025db-8a5f-4743-9973-a076f5a066ee’ - Modifying order of MIP SecurityAction list is not supported for already defined SecurityActions (VideoOS.Platform)
BUTTONS:
OK
How is the security actions supposed to be implemented?
Tested against XProtect 2025R2 / MIP SDK version 2024R1

