install plugin
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
extends@:
|
||||
type: user/account
|
||||
context: blueprints://
|
||||
|
||||
form:
|
||||
fields:
|
||||
security:
|
||||
unset-security@: true
|
||||
state:
|
||||
ordering@: content
|
||||
type: toggle
|
||||
label: PLUGIN_ADMIN.ENABLED
|
||||
classes: twofa-toggle
|
||||
highlight: enabled
|
||||
default: enabled
|
||||
options:
|
||||
enabled: PLUGIN_ADMIN.YES
|
||||
disabled: PLUGIN_ADMIN.NO
|
||||
validate:
|
||||
type: string
|
||||
@@ -0,0 +1,16 @@
|
||||
title: User
|
||||
form:
|
||||
fields:
|
||||
raw:
|
||||
type: editor
|
||||
label: Raw
|
||||
autofocus: true
|
||||
codemirror:
|
||||
mode: 'yaml'
|
||||
indentUnit: 4
|
||||
autofocus: true
|
||||
indentWithTabs: false
|
||||
lineNumbers: true
|
||||
styleActiveLine: true
|
||||
gutters: ['CodeMirror-lint-markers']
|
||||
lint: true
|
||||
@@ -0,0 +1,43 @@
|
||||
title: Group
|
||||
form:
|
||||
validation: loose
|
||||
|
||||
fields:
|
||||
groupname:
|
||||
type: text
|
||||
size: large
|
||||
label: PLUGIN_ADMIN.NAME
|
||||
readonly: true
|
||||
|
||||
readableName:
|
||||
type: text
|
||||
size: large
|
||||
label: PLUGIN_ADMIN_ADDON_USER_MANAGER.READABLE_NAME
|
||||
|
||||
description:
|
||||
type: text
|
||||
size: large
|
||||
label: PLUGIN_ADMIN.DESCRIPTION
|
||||
|
||||
icon:
|
||||
type: text
|
||||
size: small
|
||||
label: PLUGIN_ADMIN_ADDON_USER_MANAGER.ICON
|
||||
|
||||
access:
|
||||
type: permissions
|
||||
label: PLUGIN_ADMIN.PERMISSIONS
|
||||
ignore_empty: true
|
||||
validate:
|
||||
type: array
|
||||
|
||||
users:
|
||||
type: select
|
||||
multiple: true
|
||||
size: large
|
||||
label: PLUGIN_ADMIN_ADDON_USER_MANAGER.USERS
|
||||
data-options@: '\AdminAddonUserManager\Users\Manager::userNames'
|
||||
classes: fancy
|
||||
help: PLUGIN_ADMIN_ADDON_USER_MANAGER.USERS_HELP
|
||||
validate:
|
||||
type: commalist
|
||||
Reference in New Issue
Block a user