mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-08-28 05:54:05 +02:00
Added entities and properties for some future features.
This commit is contained in:
parent
bcdba8b3e0
commit
7826e3d2ad
49 changed files with 1477 additions and 362 deletions
|
@ -32,8 +32,8 @@
|
|||
namespace App\Security\Voter;
|
||||
|
||||
|
||||
use App\Entity\Attachment;
|
||||
use App\Entity\User;
|
||||
use App\Entity\Attachments\Attachment;
|
||||
use App\Entity\UserSystem\User;
|
||||
|
||||
class AttachmentVoter extends ExtendedVoter
|
||||
{
|
||||
|
|
|
@ -29,7 +29,7 @@
|
|||
|
||||
namespace App\Security\Voter;
|
||||
|
||||
use App\Entity\User;
|
||||
use App\Entity\UserSystem\User;
|
||||
use App\Services\PermissionResolver;
|
||||
use Doctrine\ORM\EntityManagerInterface;
|
||||
use Symfony\Component\Security\Core\Authentication\Token\TokenInterface;
|
||||
|
|
|
@ -2,8 +2,8 @@
|
|||
|
||||
namespace App\Security\Voter;
|
||||
|
||||
use App\Entity\Part;
|
||||
use App\Entity\User;
|
||||
use App\Entity\Parts\Part;
|
||||
use App\Entity\UserSystem\User;
|
||||
use Symfony\Component\Security\Core\Authorization\Voter\Voter;
|
||||
|
||||
/**
|
||||
|
|
|
@ -32,14 +32,14 @@
|
|||
namespace App\Security\Voter;
|
||||
|
||||
|
||||
use App\Entity\AttachmentType;
|
||||
use App\Entity\Category;
|
||||
use App\Entity\Device;
|
||||
use App\Entity\Footprint;
|
||||
use App\Entity\Manufacturer;
|
||||
use App\Entity\Storelocation;
|
||||
use App\Entity\Supplier;
|
||||
use App\Entity\User;
|
||||
use App\Entity\Attachments\AttachmentType;
|
||||
use App\Entity\Device\Device;
|
||||
use App\Entity\Parts\Category;
|
||||
use App\Entity\Parts\Footprint;
|
||||
use App\Entity\Parts\Manufacturer;
|
||||
use App\Entity\Parts\Storelocation;
|
||||
use App\Entity\Parts\Supplier;
|
||||
use App\Entity\UserSystem\User;
|
||||
|
||||
class StructureVoter extends ExtendedVoter
|
||||
{
|
||||
|
|
|
@ -29,7 +29,7 @@
|
|||
|
||||
namespace App\Security\Voter;
|
||||
|
||||
use App\Entity\User;
|
||||
use App\Entity\UserSystem\User;
|
||||
|
||||
class UserVoter extends ExtendedVoter
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue