From d922e95085f741ae8c270bd58411405fdfb8c64e Mon Sep 17 00:00:00 2001 From: Yuriy Bakhtin Date: Fri, 27 Oct 2023 15:29:31 +0200 Subject: [PATCH] Fix visibility of the method `Controller::getAccessRules()` --- controllers/ConfigController.php | 2 +- docs/CHANGELOG.md | 4 ++++ module.json | 4 ++-- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/controllers/ConfigController.php b/controllers/ConfigController.php index abf7b14..03bd04f 100644 --- a/controllers/ConfigController.php +++ b/controllers/ConfigController.php @@ -20,7 +20,7 @@ class ConfigController extends Controller /** * @inheritdoc */ - public function getAccessRules() + protected function getAccessRules() { return [['permissions' => ManageModules::class]]; } diff --git a/docs/CHANGELOG.md b/docs/CHANGELOG.md index fef7149..f85efa4 100644 --- a/docs/CHANGELOG.md +++ b/docs/CHANGELOG.md @@ -1,6 +1,10 @@ Changelog ========= +1.2.0 (Unreleased) +------------------- +- Fix #61: Fix visibility of the method `Controller::getAccessRules()` + 1.1.4 (Unreleased) ---------------------- - Enh #58: Tests for `next` version diff --git a/module.json b/module.json index 049e2c2..db5dc7c 100644 --- a/module.json +++ b/module.json @@ -12,8 +12,8 @@ "resources/screen2.png", "resources/screen3.png" ], - "version": "1.1.4", + "version": "1.2.0", "humhub": { - "minVersion": "1.11" + "minVersion": "1.16" } }