From 3d3e082fb5dadacf81f2b7de0069431735eee7fe Mon Sep 17 00:00:00 2001 From: Luca Haid Date: Tue, 8 Apr 2025 08:18:27 +0000 Subject: [PATCH] Fixed Permission Issues in ConstructionConsentController.php --- .../ConstructionConsent/ConstructionConsentController.php | 3 --- 1 file changed, 3 deletions(-) diff --git a/application/ConstructionConsent/ConstructionConsentController.php b/application/ConstructionConsent/ConstructionConsentController.php index 047927c8b..ec3f26f1b 100644 --- a/application/ConstructionConsent/ConstructionConsentController.php +++ b/application/ConstructionConsent/ConstructionConsentController.php @@ -507,9 +507,6 @@ class ConstructionConsentController extends mfBaseController { } protected function apiAction() { - if(!$this->me->is(["Admin","netowner"]) && !$this->me->can("Preorder")) { - $this->redirect("Dashboard"); - } $do = $this->request->do; $data = [];