Skip to content

Commit

Permalink
Fix visibility of the method Controller::getAccessRules()
Browse files Browse the repository at this point in the history
  • Loading branch information
yurabakhtin committed Oct 27, 2023
1 parent f204848 commit 3611d26
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 8 deletions.
9 changes: 3 additions & 6 deletions controllers/ConfigController.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;

/**
*
Expand All @@ -25,7 +22,7 @@ class ConfigController extends Controller
/**
* @inheritdoc
*/
public function getAccessRules()
protected function getAccessRules()
{
return [['permissions' => ManageModules::class]];
}
Expand Down
4 changes: 4 additions & 0 deletions docs/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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)
Expand Down
4 changes: 2 additions & 2 deletions module.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
}

0 comments on commit 3611d26

Please sign in to comment.