diff --git a/Sidebar/SidebarExtender.php b/Sidebar/SidebarExtender.php index dc1ce1d..a927b9b 100644 --- a/Sidebar/SidebarExtender.php +++ b/Sidebar/SidebarExtender.php @@ -47,9 +47,9 @@ public function extendWith(Menu $menu) $this->auth->hasAccess('workshop.themes.index') ); }); - + $group->authorize( - $this->auth->hasAccess('workshop.*') + $this->auth->hasAccess('workshop.*') or $this->auth->hasAccess('user.*') or $this->auth->hasAccess('setting.*') ); }); diff --git a/changelog.yml b/changelog.yml index 78ac3cd..e4544e8 100644 --- a/changelog.yml +++ b/changelog.yml @@ -1,5 +1,8 @@ url: https://github.com/AsgardCms/Workshop versions: + "1.17.1": + changed: + - Checking for user or setting group permissions on workshop sidebar group "1.17.0": changed: - Only list workshop in sidebar when accessible diff --git a/module.json b/module.json index dca5782..b397fdd 100644 --- a/module.json +++ b/module.json @@ -4,7 +4,7 @@ "description": "Module used to handle the create of new modules.", "keywords": [ ], - "version": "1.17.0", + "version": "1.17.1", "active": 1, "order": 1, "providers": [