From 8c020c6329cb0a2f782b1324fe620a697a8f4b8f Mon Sep 17 00:00:00 2001 From: Luca Haid Date: Thu, 4 Dec 2025 12:20:50 +0000 Subject: [PATCH] added markus hirt to WarehouseArticleController::beforeUpdate --- application/WarehouseArticle/WarehouseArticleController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/WarehouseArticle/WarehouseArticleController.php b/application/WarehouseArticle/WarehouseArticleController.php index 0ad769b44..bfd951b10 100644 --- a/application/WarehouseArticle/WarehouseArticleController.php +++ b/application/WarehouseArticle/WarehouseArticleController.php @@ -57,7 +57,7 @@ class WarehouseArticleController extends TTCrud { } protected function beforeUpdate($postData): bool { - if (!in_array($this->user->id, [2, 5, 6, 145])) + if (!in_array($this->user->id, [2, 5, 6, 145, 14])) self::sendError("Sie haben keine Berechtigung, Artikel zu bearbeiten."); (new WarehouseHistoryController)->create($postData, $this->mod); return true;