mirror of
https://github.com/kevinveenbirkenbach/infinito.git
synced 2025-09-13 05:47:11 +02:00
Implemented that everybody can create entities
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user