2019-03-28 17:57:56 +01:00
|
|
|
|
title: Group
|
2021-05-27 18:17:50 +02:00
|
|
|
|
rules:
|
|
|
|
|
slug:
|
|
|
|
|
pattern: '[a-zA-Zа-яA-Я0-9_\-]+'
|
|
|
|
|
min: 1
|
|
|
|
|
max: 200
|
|
|
|
|
|
2019-03-28 17:57:56 +01:00
|
|
|
|
form:
|
2021-05-27 18:17:50 +02:00
|
|
|
|
validation: loose
|
2019-03-28 17:57:56 +01:00
|
|
|
|
|
2021-05-27 18:17:50 +02:00
|
|
|
|
fields:
|
|
|
|
|
groupname:
|
|
|
|
|
type: text
|
|
|
|
|
size: large
|
|
|
|
|
label: PLUGIN_ADMIN.GROUP_NAME
|
|
|
|
|
flex-disabled@: exists
|
|
|
|
|
flex-readonly@: exists
|
|
|
|
|
validate:
|
|
|
|
|
required: true
|
|
|
|
|
rule: slug
|
2019-03-28 17:57:56 +01:00
|
|
|
|
|
2021-05-27 18:17:50 +02:00
|
|
|
|
readableName:
|
|
|
|
|
type: text
|
|
|
|
|
size: large
|
|
|
|
|
label: PLUGIN_ADMIN.DISPLAY_NAME
|
2019-03-28 17:57:56 +01:00
|
|
|
|
|
2021-05-27 18:17:50 +02:00
|
|
|
|
description:
|
|
|
|
|
type: text
|
|
|
|
|
size: large
|
|
|
|
|
label: PLUGIN_ADMIN.DESCRIPTION
|
2019-03-28 17:57:56 +01:00
|
|
|
|
|
2021-05-27 18:17:50 +02:00
|
|
|
|
icon:
|
|
|
|
|
type: text
|
|
|
|
|
size: small
|
|
|
|
|
label: PLUGIN_ADMIN.ICON
|
2019-03-28 17:57:56 +01:00
|
|
|
|
|
2021-05-27 18:17:50 +02:00
|
|
|
|
enabled:
|
|
|
|
|
type: toggle
|
|
|
|
|
label: PLUGIN_ADMIN.ENABLED
|
|
|
|
|
highlight: 1
|
|
|
|
|
default: 1
|
|
|
|
|
options:
|
|
|
|
|
1: PLUGIN_ADMIN.YES
|
|
|
|
|
0: PLUGIN_ADMIN.NO
|
|
|
|
|
validate:
|
|
|
|
|
type: bool
|
2019-03-28 17:57:56 +01:00
|
|
|
|
|
2021-05-27 18:17:50 +02:00
|
|
|
|
access:
|
|
|
|
|
type: permissions
|
|
|
|
|
check_authorize: false
|
|
|
|
|
label: PLUGIN_ADMIN.PERMISSIONS
|
|
|
|
|
ignore_empty: true
|
|
|
|
|
validate:
|
|
|
|
|
type: array
|
|
|
|
|
value_type: bool
|