temporary fix to allow creation on persons without centers

This commit is contained in:
2021-05-21 18:31:20 +02:00
parent c9e6935f15
commit 34fcefa1bd
4 changed files with 57 additions and 30 deletions

View File

@@ -497,6 +497,7 @@ class ChillPersonExtension extends Extension implements PrependExtensionInterfac
'name' => 'person',
'base_path' => '/api/1.0/person/person',
'base_role' => \Chill\PersonBundle\Security\Authorization\PersonVoter::SEE,
'controller' => \Chill\PersonBundle\Controller\PersonApiController::class,
'actions' => [
'_entity' => [
'methods' => [