mirror of
https://github.com/getgrav/grav-plugin-admin.git
synced 2026-05-06 05:56:22 +02:00
Fixed saving the configuration if not admin.super
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -420,6 +420,7 @@ class AdminBaseController
|
||||
|
||||
switch ($type) {
|
||||
case 'configuration':
|
||||
case 'config':
|
||||
case 'system':
|
||||
$permissions[] = 'admin.configuration';
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user