Era.Common.NetworkMessage.ConsoleApi.Security.RpcGetUserAccessRightsResponse_AccessRightsMatrix

Description

Access rights matrix structure definition.

Properties

Name JsonSchemaType Description
accessRights array of references to Era.Common.DataDefinition.Common.Uuid List of access rights to which relations point to. These are columns of the matrix.
groups array of references to Era.Common.DataDefinition.Common.Uuid List of static groups to which relations point to. These are rows of the matrix.
relations array of references to Era.Common.NetworkMessage.ConsoleApi.Security.RpcGetUserAccessRightsResponse_AccessRightsMatrix_GroupToAccessRightRelation Relations that represent the matrix.

Dual message (request/response)

No dual message.

Referenced in messages

Era.Common.NetworkMessage.ConsoleApi.Security.RpcGetUserAccessRightsResponse

JsonSchema

{
    "title": "Era.Common.NetworkMessage.ConsoleApi.Security.RpcGetUserAccessRightsResponse_AccessRightsMatrix",
    "type": "object",
    "$schema": "http://json-schema.org/draft-04/schema#",
    "additionalProperties": false,
    "required": [
        "Era.Common.NetworkMessage.ConsoleApi.Security.RpcGetUserAccessRightsResponse_AccessRightsMatrix"
    ],
    "properties": {
        "Era.Common.NetworkMessage.ConsoleApi.Security.RpcGetUserAccessRightsResponse_AccessRightsMatrix": {
            "$ref": "#/definitions/RpcGetUserAccessRightsResponse_AccessRightsMatrix"
        }
    },
    "definitions": {
        "RpcGetUserAccessRightsResponse_AccessRightsMatrix": {
            "additionalProperties": false,
            "type": "object",
            "properties": {
                "accessRights": {
                    "type": "array",
                    "items": [
                        {
                            "$ref": "Era.Common.DataDefinition.Common.Uuid#/definitions/Uuid"
                        }
                    ]
                },
                "groups": {
                    "type": "array",
                    "items": [
                        {
                            "$ref": "Era.Common.DataDefinition.Common.Uuid#/definitions/Uuid"
                        }
                    ]
                },
                "relations": {
                    "type": "array",
                    "items": [
                        {
                            "$ref": "Era.Common.NetworkMessage.ConsoleApi.Security.RpcGetUserAccessRightsResponse_AccessRightsMatrix_GroupToAccessRightRelation#/definitions/RpcGetUserAccessRightsResponse_AccessRightsMatrix_GroupToAccessRightRelation"
                        }
                    ]
                }
            }
        }
    }
}