Updated ConstructionConsent Permissions

This commit is contained in:
Luca Haid
2025-02-05 09:35:34 +01:00
parent 3257c612bc
commit 04a31770ed
6 changed files with 6 additions and 16 deletions

View File

@@ -10,9 +10,7 @@ class ConstructionConsentProjectController extends mfBaseController {
$this->me = $me;
$this->layout()->set("me", $me);
if (!$me->is(["Admin"])) {
$this->redirect("Dashboard");
}
if (!($me->is(["Admin","netowner","salespartner"]) && in_array($me->address_id, [1,209,5908]))) $this->redirect("Dashboard");
}
protected function indexAction() : void {