mirror of
https://github.com/getgrav/grav-plugin-admin.git
synced 2026-05-06 07:46:50 +02:00
Fixed missing special groups authors and defaults for pages
This commit is contained in:
@@ -4,9 +4,10 @@
|
||||
1. [](#improved)
|
||||
* Auto-link a plugin/theme license in details if it starts with `http`
|
||||
* Allow to fallback to `docs:` instead of `readme:`
|
||||
* Forward a `sid` to GPM when downloading a premium package
|
||||
* Forward a `sid` to GPM when downloading a premium package
|
||||
1. [](#bugfix)
|
||||
* Fixed Safari issue with new ACL picker field [#1955](https://github.com/getgrav/grav-plugin-admin/issues/1955)
|
||||
* Fixed missing special groups `authors` and `defaults` for pages
|
||||
|
||||
# v1.10.0-rc.17
|
||||
## 10/07/2020
|
||||
|
||||
@@ -30,7 +30,12 @@
|
||||
update: { letter: 'U', title: 'Update', value: '' },
|
||||
delete: { letter: 'D', title: 'Delete', value: '' }
|
||||
} %}
|
||||
{% set optionsList = [] %}
|
||||
|
||||
{% if object.hasFlexFeature('page') %}
|
||||
{% set optionsList = [{text: 'Page Authors (Special)', value: 'authors'}, {text: 'Default ACL (Special)', value: 'defaults'}] %}
|
||||
{% else %}
|
||||
{% set optionsList = [] %}
|
||||
{% endif %}
|
||||
{% for group in groups.index %}
|
||||
{% set optionsList = optionsList|merge([{ text: group.readableName ?? group.groupname, value: group.groupname }]) %}
|
||||
{% endfor %}
|
||||
|
||||
Reference in New Issue
Block a user