Implemented that everybody can create entities

This commit is contained in:
Kevin Frantz 2019-02-03 11:46:00 +01:00
parent 4e471c40cd
commit f821293062

View File

@ -10,12 +10,13 @@ use App\Domain\ActionManagement\AbstractAction;
abstract class AbstractCreateAction extends AbstractAction implements CreateActionInterface abstract class AbstractCreateAction extends AbstractAction implements CreateActionInterface
{ {
/** /**
* In general everybody should be allowed to create everything!
* {@inheritdoc} * {@inheritdoc}
* *
* @see \App\Domain\ActionManagement\AbstractAction::isSecure() * @see \App\Domain\ActionManagement\AbstractAction::isSecure()
*/ */
protected function isSecure(): bool protected function isSecure(): bool
{ {
return $this->actionService->isRequestedActionSecure(); return true;
} }
} }