mirror of
https://github.com/kevinveenbirkenbach/infinito.git
synced 2024-12-04 15:06:51 +01:00
Renamed domain RightManagement to Right
This commit is contained in:
parent
b8029bb7cc
commit
e9110622db
@ -7,7 +7,7 @@ use Doctrine\Common\Collections\ArrayCollection;
|
||||
use Infinito\Entity\Meta\RightInterface;
|
||||
use Doctrine\Common\Collections\Collection;
|
||||
use Infinito\Entity\Meta\LawInterface;
|
||||
use Infinito\Domain\RightManagement\RightChecker;
|
||||
use Infinito\Domain\Right\RightChecker;
|
||||
use Infinito\Entity\Source\SourceInterface;
|
||||
use Infinito\Domain\SourceManagement\SourceMemberInformation;
|
||||
use Infinito\Domain\Method\MethodPrefixType;
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
|
||||
namespace Infinito\Domain\RightManagement;
|
||||
namespace Infinito\Domain\Right;
|
||||
|
||||
use Infinito\Entity\Meta\RightInterface;
|
||||
use Doctrine\Common\Collections\Collection;
|
||||
@ -100,7 +100,7 @@ final class RightChecker implements RightCheckerInterface
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
*
|
||||
* @see \Infinito\Domain\RightManagement\RightCheckerInterface::isGranted()
|
||||
* @see \Infinito\Domain\Right\RightCheckerInterface::isGranted()
|
||||
*/
|
||||
public function isGranted(string $layer, string $type, SourceInterface $source): bool
|
||||
{
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
|
||||
namespace Infinito\Domain\RightManagement;
|
||||
namespace Infinito\Domain\Right;
|
||||
|
||||
use Infinito\Entity\Source\SourceInterface;
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
|
||||
namespace Infinito\Domain\RightManagement;
|
||||
namespace Infinito\Domain\Right;
|
||||
|
||||
use Infinito\DBAL\Types\Meta\Right\LayerType;
|
||||
use Infinito\DBAL\Types\Meta\Right\CRUDType;
|
||||
@ -62,7 +62,7 @@ final class RightLayerCombinationService implements RightLayerCombinationService
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
*
|
||||
* @see \Infinito\Domain\RightManagement\RightLayerCombinationServiceInterface::getPossibleCruds()
|
||||
* @see \Infinito\Domain\Right\RightLayerCombinationServiceInterface::getPossibleCruds()
|
||||
*/
|
||||
public function getPossibleCruds(string $layer): array
|
||||
{
|
||||
@ -72,7 +72,7 @@ final class RightLayerCombinationService implements RightLayerCombinationService
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
*
|
||||
* @see \Infinito\Domain\RightManagement\RightLayerCombinationServiceInterface::getPossibleLayers()
|
||||
* @see \Infinito\Domain\Right\RightLayerCombinationServiceInterface::getPossibleLayers()
|
||||
*/
|
||||
public function getPossibleLayers(string $crudType): array
|
||||
{
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
|
||||
namespace Infinito\Domain\RightManagement;
|
||||
namespace Infinito\Domain\Right;
|
||||
|
||||
use Infinito\DBAL\Types\Meta\Right\LayerType;
|
||||
use Infinito\DBAL\Types\Meta\Right\CRUDType;
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
|
||||
namespace Infinito\Domain\RightManagement;
|
||||
namespace Infinito\Domain\Right;
|
||||
|
||||
use Infinito\Entity\Meta\RightInterface;
|
||||
use Infinito\Domain\Request\Right\RequestedRightInterface;
|
||||
@ -118,7 +118,7 @@ final class RightTransformerService implements RightTransformerServiceInterface
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
*
|
||||
* @see \Infinito\Domain\RightManagement\RightTransformerServiceInterface::transform()
|
||||
* @see \Infinito\Domain\Right\RightTransformerServiceInterface::transform()
|
||||
*/
|
||||
public function transform(RequestedRightInterface $requestedRight): RightInterface
|
||||
{
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
|
||||
namespace Infinito\Domain\RightManagement;
|
||||
namespace Infinito\Domain\Right;
|
||||
|
||||
use Infinito\Entity\Meta\RightInterface;
|
||||
use Infinito\Domain\Request\Right\RequestedRightInterface;
|
@ -4,7 +4,7 @@ namespace Infinito\Domain\SecureManagement;
|
||||
|
||||
use Infinito\Domain\Request\Right\RequestedRightInterface;
|
||||
use Doctrine\ORM\EntityManagerInterface;
|
||||
use Infinito\Domain\RightManagement\RightTransformerServiceInterface;
|
||||
use Infinito\Domain\Right\RightTransformerServiceInterface;
|
||||
|
||||
/**
|
||||
* @author kevinfrantz
|
||||
|
@ -24,7 +24,7 @@ use Infinito\Entity\Source\PureSource;
|
||||
use Infinito\Attribut\ClassAttributInterface;
|
||||
use Infinito\Domain\Repository\LayerRepositoryFactoryService;
|
||||
use Infinito\Domain\SecureManagement\SecureRequestedRightCheckerService;
|
||||
use Infinito\Domain\RightManagement\RightTransformerService;
|
||||
use Infinito\Domain\Right\RightTransformerService;
|
||||
|
||||
/**
|
||||
* @todo Implement test and logic!!!!!
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
|
||||
namespace tests\Unit\Domain\RightManagement\User;
|
||||
namespace tests\Unit\Domain\Right\User;
|
||||
|
||||
use PHPUnit\Framework\TestCase;
|
||||
use Infinito\Entity\User;
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
|
||||
namespace tests\Unit\Domain\RightManagement\User;
|
||||
namespace tests\Unit\Domain\Right\User;
|
||||
|
||||
use PHPUnit\Framework\TestCase;
|
||||
use Infinito\Entity\User;
|
||||
|
@ -1,14 +1,14 @@
|
||||
<?php
|
||||
|
||||
namespace Tests\Unit\Domain\RightManagement;
|
||||
namespace Tests\Unit\Domain\Right;
|
||||
|
||||
use PHPUnit\Framework\TestCase;
|
||||
use Infinito\Entity\Meta\RightInterface;
|
||||
use Infinito\Entity\Meta\Right;
|
||||
use Infinito\Entity\Source\SourceInterface;
|
||||
use Infinito\DBAL\Types\Meta\Right\LayerType;
|
||||
use Infinito\Domain\RightManagement\RightCheckerInterface;
|
||||
use Infinito\Domain\RightManagement\RightChecker;
|
||||
use Infinito\Domain\Right\RightCheckerInterface;
|
||||
use Infinito\Domain\Right\RightChecker;
|
||||
use Infinito\DBAL\Types\Meta\Right\CRUDType;
|
||||
use Infinito\Entity\Source\PureSource;
|
||||
|
@ -1,10 +1,10 @@
|
||||
<?php
|
||||
|
||||
namespace tests\Unit\Domain\RightManagement;
|
||||
namespace tests\Unit\Domain\Right;
|
||||
|
||||
use PHPUnit\Framework\TestCase;
|
||||
use Infinito\Domain\RightManagement\RightLayerCombinationServiceInterface;
|
||||
use Infinito\Domain\RightManagement\RightLayerCombinationService;
|
||||
use Infinito\Domain\Right\RightLayerCombinationServiceInterface;
|
||||
use Infinito\Domain\Right\RightLayerCombinationService;
|
||||
use Infinito\DBAL\Types\Meta\Right\CRUDType;
|
||||
use Infinito\DBAL\Types\Meta\Right\LayerType;
|
||||
|
@ -1,13 +1,13 @@
|
||||
<?php
|
||||
|
||||
namespace tests\Unit\Domain\RightManagement;
|
||||
namespace tests\Unit\Domain\Right;
|
||||
|
||||
use PHPUnit\Framework\TestCase;
|
||||
use Infinito\Domain\Request\Right\RequestedRight;
|
||||
use Infinito\DBAL\Types\Meta\Right\CRUDType;
|
||||
use Infinito\DBAL\Types\Meta\Right\LayerType;
|
||||
use Infinito\Entity\Source\SourceInterface;
|
||||
use Infinito\Domain\RightManagement\RightTransformerService;
|
||||
use Infinito\Domain\Right\RightTransformerService;
|
||||
use Infinito\Domain\Request\Entity\RequestedEntityInterface;
|
||||
|
||||
/**
|
@ -10,7 +10,7 @@ use Infinito\Entity\Meta\Right;
|
||||
use Infinito\Domain\Request\Right\RequestedRight;
|
||||
use Infinito\Domain\Request\Entity\RequestedEntityInterface;
|
||||
use Infinito\Domain\SecureManagement\SecureRequestedRightCheckerService;
|
||||
use Infinito\Domain\RightManagement\RightTransformerService;
|
||||
use Infinito\Domain\Right\RightTransformerService;
|
||||
use Infinito\Domain\Request\Right\RequestedRightInterface;
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user