From f821293062aa849af67b75f86bad6912fa45b77c Mon Sep 17 00:00:00 2001 From: Kevin Frantz Date: Sun, 3 Feb 2019 11:46:00 +0100 Subject: [PATCH] Implemented that everybody can create entities --- .../Domain/ActionManagement/Create/AbstractCreateAction.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/application/symfony/src/Domain/ActionManagement/Create/AbstractCreateAction.php b/application/symfony/src/Domain/ActionManagement/Create/AbstractCreateAction.php index f0f9cb4..ab3cb94 100644 --- a/application/symfony/src/Domain/ActionManagement/Create/AbstractCreateAction.php +++ b/application/symfony/src/Domain/ActionManagement/Create/AbstractCreateAction.php @@ -10,12 +10,13 @@ use App\Domain\ActionManagement\AbstractAction; abstract class AbstractCreateAction extends AbstractAction implements CreateActionInterface { /** + * In general everybody should be allowed to create everything! * {@inheritdoc} * * @see \App\Domain\ActionManagement\AbstractAction::isSecure() */ protected function isSecure(): bool { - return $this->actionService->isRequestedActionSecure(); + return true; } }