diff --git a/controllers/ConfigController.php b/controllers/ConfigController.php index 174193bb..580ee55e 100644 --- a/controllers/ConfigController.php +++ b/controllers/ConfigController.php @@ -9,13 +9,10 @@ namespace humhub\modules\tasks\controllers; -use Yii; -use yii\data\ActiveDataProvider; -use yii\helpers\Url; -use humhub\modules\admin\permissions\ManageModules; use humhub\modules\admin\components\Controller; +use humhub\modules\admin\permissions\ManageModules; use humhub\modules\tasks\models\SnippetModuleSettings; -use yii\web\HttpException; +use Yii; /** * @@ -25,7 +22,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 9d54b96b..a2cc266e 100644 --- a/docs/CHANGELOG.md +++ b/docs/CHANGELOG.md @@ -1,6 +1,10 @@ Changelog ========= +1.9.0 (Unreleased) +------------------- +- Fix #243: Fix visibility of the method `Controller::getAccessRules()` +- 1.8.2 (Unreleased) ------------------- - Fix #232: Set All Icons color to @text-color-main (#555) diff --git a/module.json b/module.json index cf1a7304..930cbf8c 100644 --- a/module.json +++ b/module.json @@ -3,10 +3,10 @@ "name": "Tasks", "description": "Intuitive task management tool with many basic and advanced features.", "keywords": ["task", "todo"], - "version": "1.8.2", + "version": "1.9.0", "homepage": "https://github.com/humhub/tasks", "humhub": { - "minVersion": "1.14" + "minVersion": "1.16" }, "screenshots": ["assets/screen1.jpg", "assets/screen2.jpg"] }