added markus hirt to WarehouseArticleController::beforeUpdate

This commit is contained in:
Luca Haid
2025-12-04 12:20:50 +00:00
parent 16b9e9c380
commit 8c020c6329

View File

@@ -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;