Era.Common.NetworkMessage.ConsoleApi.Policies.RpcSetStaffUserGroupPoliciesRequest

Description

Assigns policies to a staff user group. Previously assigned policies will be removed, unless they are present in this request.

Properties

Name JsonSchemaType Description
groupUuid reference to Era.Common.DataDefinition.Common.Uuid UUID of the staff user group, to which the policies should be assigned.
policiesUuids array of references to Era.Common.DataDefinition.Common.Uuid UUIDs of the policies to be assigned. The order of the policies will be respected, first policies in this list will be applied first.
versionGuard integer Version guard for the staff user group, to which the policies are assigned.

Dual message (request/response)

Era.Common.NetworkMessage.ConsoleApi.Policies.RpcSetStaffUserGroupPoliciesResponse

Referenced in messages

No references.

JsonSchema

{
    "title": "Era.Common.NetworkMessage.ConsoleApi.Policies.RpcSetStaffUserGroupPoliciesRequest",
    "type": "object",
    "$schema": "http://json-schema.org/draft-04/schema#",
    "additionalProperties": false,
    "required": [
        "Era.Common.NetworkMessage.ConsoleApi.Policies.RpcSetStaffUserGroupPoliciesRequest"
    ],
    "properties": {
        "Era.Common.NetworkMessage.ConsoleApi.Policies.RpcSetStaffUserGroupPoliciesRequest": {
            "$ref": "#/definitions/RpcSetStaffUserGroupPoliciesRequest"
        }
    },
    "definitions": {
        "RpcSetStaffUserGroupPoliciesRequest": {
            "additionalProperties": false,
            "required": [
                "groupUuid",
                "versionGuard"
            ],
            "type": "object",
            "properties": {
                "groupUuid": {
                    "$ref": "Era.Common.DataDefinition.Common.Uuid#/definitions/Uuid"
                },
                "policiesUuids": {
                    "type": "array",
                    "items": [
                        {
                            "$ref": "Era.Common.DataDefinition.Common.Uuid#/definitions/Uuid"
                        }
                    ]
                },
                "versionGuard": {
                    "type": "integer"
                }
            }
        }
    }
}