Fixed saving the configuration if not admin.super

This commit is contained in:
Flavio Copes
2017-01-03 10:58:24 +01:00
parent 721c3bbe90
commit 964a4f8ea3
2 changed files with 3 additions and 0 deletions

View File

@@ -4,6 +4,8 @@
1. [](#improved)
* Allow to clear the cache if admin.maintenance, as stated in the docs [#908](https://github.com/getgrav/grav-plugin-admin/issues/908)
* Added lang strings for `DEFAULT_LANG` in Site configuration
1. [](#bugfix)
* Fixed saving the configuration if not `admin.super`
# v1.2.7
## 12/22/2016

View File

@@ -420,6 +420,7 @@ class AdminBaseController
switch ($type) {
case 'configuration':
case 'config':
case 'system':
$permissions[] = 'admin.configuration';
break;