allow hirt markus
This commit is contained in:
@@ -51,7 +51,7 @@ class WarehouseArticleController extends TTCrud {
|
||||
}
|
||||
|
||||
protected function beforeCreate() {
|
||||
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 erstellen.");
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user