Fixed "Page Authors" field in Security tab, wrongly loading and saving the value (fixes #3525)

This commit is contained in:
Djamil Legato 2022-02-04 11:23:09 -08:00
parent 67ef9b221a
commit 5eefc91781
No known key found for this signature in database
GPG Key ID: A44158E0E04E7A37
2 changed files with 4 additions and 7 deletions

View File

@ -5,6 +5,7 @@
* Added twig filter `|field_parent` to get parent field name
2. [](#bugfix)
* Fixed error while deleting retina image in admin
* Fixed "Page Authors" field in Security tab, wrongly loading and saving the value [#3525](https://github.com/getgrav/grav/issues/3525)
# v1.7.29.1
## 01/31/2022

View File

@ -51,17 +51,13 @@ form:
type: bool
header.permissions.authors:
type: list
type: array
toggleable: true
value_only: true
placeholder_value: PLUGIN_ADMIN.USERNAME
label: PLUGIN_ADMIN.PAGE_AUTHORS
help: PLUGIN_ADMIN.PAGE_AUTHORS_HELP
fields:
value:
type: text
placeholder: PLUGIN_ADMIN.USERNAME
style: vertical
header.permissions.groups:
ignore@: true
type: acl_picker