octoprint-open-api/openapi/components/schemas/access/PermissionRecord.yaml
2020-10-31 14:36:19 +01:00

29 lines
700 B
YAML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

type: object
properties:
key:
type: string
description: >-
The permissions identifier
name:
type: string
description: >-
The permissions name
dangerous:
type: boolean
description: >-
Whether the permission should be considered dangerous due to a high reponsibility (true) or not (false).
default_groups:
type: array
description: >-
List of group identifiers for which this permission is enabled by default
items:
type: string
description:
type: string
description: >-
Human readable description of the permission
needs:
description: >-
Needs assigned to the permission
$ref: ./Needs.yaml