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

@@ -1,6 +1,6 @@
<?php
/*
* Copyright (C) 2018 Champs Libres Cooperative <info@champs-libres.coop>
* Copyright (C) 2020 Champs Libres Cooperative <info@champs-libres.coop>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
@@ -27,6 +27,7 @@ use Chill\PersonBundle\Entity\Person;
use Chill\PersonBundle\Security\Authorization\PersonVoter;
use Symfony\Component\Security\Core\Authentication\Token\TokenInterface;
use Symfony\Component\Security\Core\Authorization\AccessDecisionManagerInterface;
use Symfony\Component\Security\Core\Role\Role;
use Psr\Log\LoggerInterface;
/**