Era.Common.DataDefinition.Security.AccessRight

Description

Holds access right to specific resource.

Properties

Name JsonSchemaType Description
accessType enum of Era.Common.DataDefinition.Security.AccessType Access type.
resourceUuid reference to Era.Common.DataDefinition.Common.Uuid Resource UUID. Static group or predefined resource.

Dual message (request/response)

No dual message.

Referenced in messages

Era.Common.NetworkMessage.ConsoleApi.Security.RpcCreateCompetenceRequest
Era.Common.NetworkMessage.ConsoleApi.Security.RpcGetUserAccessRightsResponse
Era.Common.NetworkMessage.ConsoleApi.Security.RpcModifyCompetenceRequest

JsonSchema

{
    "title": "Era.Common.DataDefinition.Security.AccessRight",
    "type": "object",
    "$schema": "http://json-schema.org/draft-04/schema#",
    "additionalProperties": false,
    "required": [
        "Era.Common.DataDefinition.Security.AccessRight"
    ],
    "properties": {
        "Era.Common.DataDefinition.Security.AccessRight": {
            "$ref": "#/definitions/AccessRight"
        }
    },
    "definitions": {
        "AccessRight": {
            "additionalProperties": false,
            "required": [
                "accessType",
                "resourceUuid"
            ],
            "type": "object",
            "properties": {
                "accessType": {
                    "enum": [
                        1,
                        2,
                        3,
                        4,
                        5
                    ]
                },
                "resourceUuid": {
                    "$ref": "Era.Common.DataDefinition.Common.Uuid#/definitions/Uuid"
                }
            }
        }
    }
}