mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-07-28 06:44:39 +02:00
Renamed PermissionResolver service to PermissionService
This commit is contained in:
parent
131e9a2850
commit
b0c027f805
17 changed files with 50 additions and 53 deletions
|
@ -44,9 +44,8 @@ namespace App\Security\Voter;
|
|||
|
||||
use App\Entity\Attachments\Attachment;
|
||||
use App\Entity\UserSystem\User;
|
||||
use App\Services\PermissionResolver;
|
||||
use App\Services\UserSystem\PermissionManager;
|
||||
use Doctrine\ORM\EntityManagerInterface;
|
||||
|
||||
use Symfony\Component\Security\Core\Security;
|
||||
|
||||
use function in_array;
|
||||
|
@ -55,7 +54,7 @@ class AttachmentVoter extends ExtendedVoter
|
|||
{
|
||||
protected $security;
|
||||
|
||||
public function __construct(PermissionResolver $resolver, EntityManagerInterface $entityManager, Security $security)
|
||||
public function __construct(PermissionManager $resolver, EntityManagerInterface $entityManager, Security $security)
|
||||
{
|
||||
parent::__construct($resolver, $entityManager);
|
||||
$this->security = $security;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue