household address: api POST on address for household (WIP)

This commit is contained in:
nobohan
2021-06-07 15:13:45 +02:00
parent 5ee824d1c2
commit 6c126b0581
3 changed files with 6 additions and 5 deletions

View File

@@ -544,8 +544,8 @@ class ChillPersonExtension extends Extension implements PrependExtensionInterfac
],
'controller_action' => 'householdAddressApi',
'roles' => [
Request::METHOD_POST => true, //TODO
Request::METHOD_DELETE => true //TODO
Request::METHOD_POST => \Chill\PersonBundle\Security\Authorization\PersonVoter::SEE,
Request::METHOD_DELETE => \Chill\PersonBundle\Security\Authorization\PersonVoter::SEE
]
],
]