sf4 deprecations: new supports and voteOnAttribute methods implemented in ParticipationVoter

This commit is contained in:
nobohan
2020-07-23 12:34:53 +02:00
parent da682c22bc
commit c8c76e5a8d
3 changed files with 96 additions and 33 deletions

View File

@@ -12,7 +12,9 @@ services:
chill_event.event_participation:
class: Chill\EventBundle\Security\Authorization\ParticipationVoter
arguments:
- "@security.access.decision_manager"
- "@chill.main.security.authorization.helper"
- "@logger"
tags:
- { name: chill.role }
- { name: security.voter }