Преглед на файлове

Se cambio la validacion del ROLE_SUPER_ADMIN y se agrego la propiedad show al VOTER.

gabriel преди 8 години
родител
ревизия
7bd6430c39
променени са 1 файла, в които са добавени 0 реда и са изтрити 3 реда
  1. 0 3
      Security/OwnerVoter.php

+ 0 - 3
Security/OwnerVoter.php

@@ -2,10 +2,7 @@
 
 namespace OwnerVoterBundle\Security;
 
-//use OwnerVoterBundle\Entity\Traits\OwnerTraitInterface;
-//use Symfony\Component\Filesystem\Exception\IOException;
 use Symfony\Component\Security\Core\Authentication\Token\TokenInterface;
-//use Symfony\Component\Security\Core\Authorization\Voter\Voter;
 use Symfony\Component\Security\Core\Authorization\Voter\VoterInterface;
 use Symfony\Component\Security\Core\Authorization\AccessDecisionManagerInterface;