mirror of
https://github.com/kevinveenbirkenbach/infinito.git
synced 2025-01-10 14:27:28 +01:00
Implemented that everybody can create entities
This commit is contained in:
parent
4e471c40cd
commit
f821293062
@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user