diff --git a/Layout/default/menu.php b/Layout/default/menu.php
index 75cc6e347..0acf0392f 100644
--- a/Layout/default/menu.php
+++ b/Layout/default/menu.php
@@ -198,7 +198,7 @@
is(["Admin","salespartner"]) && $me->can("Order")): ?>
"> Bestellungen
- is(["Admin","netowner","salespartner"]) && in_array($me->address_id, [1,209])): ?>
+ is(["Admin","netowner","salespartner"]) && in_array($me->address_id, [1,209,5908])): ?>
"> Zustimmungserklärungen
diff --git a/application/ConstructionConsent/ConstructionConsentController.php b/application/ConstructionConsent/ConstructionConsentController.php
index fd39c11e7..7ed55d299 100644
--- a/application/ConstructionConsent/ConstructionConsentController.php
+++ b/application/ConstructionConsent/ConstructionConsentController.php
@@ -10,9 +10,7 @@ class ConstructionConsentController 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 {
diff --git a/application/ConstructionConsentContact/ConstructionConsentContactController.php b/application/ConstructionConsentContact/ConstructionConsentContactController.php
index 84d215b9d..afaf61e7d 100644
--- a/application/ConstructionConsentContact/ConstructionConsentContactController.php
+++ b/application/ConstructionConsentContact/ConstructionConsentContactController.php
@@ -11,9 +11,7 @@ class ConstructionConsentContactController 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 saveAction()
diff --git a/application/ConstructionConsentJournal/ConstructionConsentJournalController.php b/application/ConstructionConsentJournal/ConstructionConsentJournalController.php
index f7203f25f..98cab83af 100644
--- a/application/ConstructionConsentJournal/ConstructionConsentJournalController.php
+++ b/application/ConstructionConsentJournal/ConstructionConsentJournalController.php
@@ -9,9 +9,7 @@ class ConstructionConsentJournalController 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 saveAction() {
diff --git a/application/ConstructionConsentOwner/ConstructionConsentOwnerController.php b/application/ConstructionConsentOwner/ConstructionConsentOwnerController.php
index 08c08f7fb..c9c1eb425 100644
--- a/application/ConstructionConsentOwner/ConstructionConsentOwnerController.php
+++ b/application/ConstructionConsentOwner/ConstructionConsentOwnerController.php
@@ -11,9 +11,7 @@ class ConstructionConsentOwnerController 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 uploadDocumentAction() {
diff --git a/application/ConstructionConsentProject/ConstructionConsentProjectController.php b/application/ConstructionConsentProject/ConstructionConsentProjectController.php
index 47bdd40a2..2c6aa0afd 100644
--- a/application/ConstructionConsentProject/ConstructionConsentProjectController.php
+++ b/application/ConstructionConsentProject/ConstructionConsentProjectController.php
@@ -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 {