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 d9855f5 commit d922e95
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion controllers/ConfigController.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,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.2.0 (Unreleased)
-------------------
- Fix #61: Fix visibility of the method `Controller::getAccessRules()`

1.1.4 (Unreleased)
----------------------
- Enh #58: Tests for `next` version
Expand Down
4 changes: 2 additions & 2 deletions module.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
}

0 comments on commit d922e95

Please sign in to comment.