mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-07 18:44:08 +00:00
household address: rely on ROLE_USER for household address api point role
This commit is contained in:
parent
6c126b0581
commit
f39fe05dd5
@ -542,11 +542,7 @@ class ChillPersonExtension extends Extension implements PrependExtensionInterfac
|
||||
Request::METHOD_GET => false,
|
||||
Request::METHOD_HEAD => false,
|
||||
],
|
||||
'controller_action' => 'householdAddressApi',
|
||||
'roles' => [
|
||||
Request::METHOD_POST => \Chill\PersonBundle\Security\Authorization\PersonVoter::SEE,
|
||||
Request::METHOD_DELETE => \Chill\PersonBundle\Security\Authorization\PersonVoter::SEE
|
||||
]
|
||||
'controller_action' => 'householdAddressApi'
|
||||
],
|
||||
]
|
||||
],
|
||||
|
Loading…
x
Reference in New Issue
Block a user