|
@@ -2,12 +2,12 @@ |
|
|
block discarded – undo |
|
2
|
2
|
|
|
3
|
3
|
namespace Knp\Rad\Security\Voter; |
|
4
|
4
|
|
|
5
|
|
-use Symfony\Component\Security\Core\Authorization\Voter\VoterInterface; |
|
|
5
|
+use Knp\Rad\Security\OwnableInterface; |
|
|
6
|
+use Knp\Rad\Security\OwnerInterface; |
|
6
|
7
|
use Symfony\Component\Security\Core\Authentication\Token\TokenInterface; |
|
|
8
|
+use Symfony\Component\Security\Core\Authorization\Voter\VoterInterface; |
|
7
|
9
|
use Symfony\Component\Security\Core\User\EquatableInterface; |
|
8
|
10
|
use Symfony\Component\Security\Core\User\UserInterface; |
|
9
|
|
-use Knp\Rad\Security\OwnerInterface; |
|
10
|
|
-use Knp\Rad\Security\OwnableInterface; |
|
11
|
11
|
|
|
12
|
12
|
class IsOwnerVoter implements VoterInterface |
|
13
|
13
|
{ |
Please login to merge, or discard this patch.