Merge branch 'fronkdev' into 'master'

Limited VatgroupController to Fibu user

See merge request fronk/thetool!259
This commit is contained in:
Frank Schubert
2024-02-20 21:38:18 +00:00
3 changed files with 6 additions and 6 deletions

View File

@@ -9,7 +9,7 @@ class VatgroupController extends mfBaseController {
$this->me = $me;
$this->layout()->set("me",$me);
if(!$me->is(["Admin"])) {
if(!$me->is(["Admin"]) || !$me->can("Fibu")) {
$this->redirect("Dashboard");
}
}