Renamed domain SecureManagement to Secure

This commit is contained in:
Kevin Frantz 2019-05-30 16:57:55 +02:00
parent e9110622db
commit cf8eace690
13 changed files with 19 additions and 19 deletions

View File

@ -50,7 +50,7 @@ services:
public: true public: true
Infinito\Domain\Form\RequestedActionFormBuilderService: Infinito\Domain\Form\RequestedActionFormBuilderService:
public: true public: true
Infinito\Domain\SecureManagement\SecureRequestedRightCheckerService: Infinito\Domain\Secure\SecureRequestedRightCheckerService:
public: true public: true
Infinito\Domain\Action\ActionService: Infinito\Domain\Action\ActionService:
public: true public: true

View File

@ -11,7 +11,7 @@ use Symfony\Component\Form\FormBuilderInterface;
use Doctrine\ORM\EntityManagerInterface; use Doctrine\ORM\EntityManagerInterface;
use Infinito\Domain\Form\RequestedActionFormBuilderServiceInterface; use Infinito\Domain\Form\RequestedActionFormBuilderServiceInterface;
use Infinito\Domain\Request\Action\RequestedActionServiceInterface; use Infinito\Domain\Request\Action\RequestedActionServiceInterface;
use Infinito\Domain\SecureManagement\SecureRequestedRightCheckerServiceInterface; use Infinito\Domain\Secure\SecureRequestedRightCheckerServiceInterface;
/** /**
* @author kevinfrantz * @author kevinfrantz

View File

@ -3,7 +3,7 @@
namespace Infinito\Domain\Process; namespace Infinito\Domain\Process;
use Infinito\Domain\Request\Action\RequestedActionServiceInterface; use Infinito\Domain\Request\Action\RequestedActionServiceInterface;
use Infinito\Domain\SecureManagement\SecureRequestedRightCheckerServiceInterface; use Infinito\Domain\Secure\SecureRequestedRightCheckerServiceInterface;
use Infinito\Domain\Action\ActionHandlerServiceInterface; use Infinito\Domain\Action\ActionHandlerServiceInterface;
use Infinito\Entity\Source\Primitive\Text\TextSource; use Infinito\Entity\Source\Primitive\Text\TextSource;
use Infinito\Domain\DataAccessManagement\ActionsResultsDAOServiceInterface; use Infinito\Domain\DataAccessManagement\ActionsResultsDAOServiceInterface;

View File

@ -1,6 +1,6 @@
<?php <?php
namespace Infinito\Domain\SecureManagement; namespace Infinito\Domain\Secure;
use Infinito\Domain\Request\Right\RequestedRightInterface; use Infinito\Domain\Request\Right\RequestedRightInterface;
use Doctrine\ORM\EntityManagerInterface; use Doctrine\ORM\EntityManagerInterface;
@ -27,7 +27,7 @@ final class SecureRequestedRightCheckerService implements SecureRequestedRightCh
/** /**
* {@inheritdoc} * {@inheritdoc}
* *
* @see \Infinito\Domain\SecureManagement\SecureRequestedRightCheckerServiceInterface::check() * @see \Infinito\Domain\Secure\SecureRequestedRightCheckerServiceInterface::check()
*/ */
public function check(RequestedRightInterface $requestedRight): bool public function check(RequestedRightInterface $requestedRight): bool
{ {

View File

@ -1,6 +1,6 @@
<?php <?php
namespace Infinito\Domain\SecureManagement; namespace Infinito\Domain\Secure;
use Infinito\Domain\Request\Right\RequestedRightInterface; use Infinito\Domain\Request\Right\RequestedRightInterface;

View File

@ -1,6 +1,6 @@
<?php <?php
namespace Infinito\Domain\SecureManagement; namespace Infinito\Domain\Secure;
use Infinito\Entity\Meta\RightInterface; use Infinito\Entity\Meta\RightInterface;
use Infinito\Entity\Source\SourceInterface; use Infinito\Entity\Source\SourceInterface;
@ -91,7 +91,7 @@ final class SecureSourceChecker implements SecureSourceCheckerInterface
/** /**
* {@inheritdoc} * {@inheritdoc}
* *
* @see \Infinito\Domain\SecureManagement\SecureSourceCheckerInterface::hasPermission() * @see \Infinito\Domain\Secure\SecureSourceCheckerInterface::hasPermission()
*/ */
public function hasPermission(RightInterface $requestedRight): bool public function hasPermission(RightInterface $requestedRight): bool
{ {

View File

@ -1,6 +1,6 @@
<?php <?php
namespace Infinito\Domain\SecureManagement; namespace Infinito\Domain\Secure;
use Infinito\Entity\Meta\RightInterface; use Infinito\Entity\Meta\RightInterface;

View File

@ -23,7 +23,7 @@ use Infinito\Domain\Request\Entity\RequestedEntityService;
use Infinito\Entity\Source\PureSource; use Infinito\Entity\Source\PureSource;
use Infinito\Attribut\ClassAttributInterface; use Infinito\Attribut\ClassAttributInterface;
use Infinito\Domain\Repository\LayerRepositoryFactoryService; use Infinito\Domain\Repository\LayerRepositoryFactoryService;
use Infinito\Domain\SecureManagement\SecureRequestedRightCheckerService; use Infinito\Domain\Secure\SecureRequestedRightCheckerService;
use Infinito\Domain\Right\RightTransformerService; use Infinito\Domain\Right\RightTransformerService;
/** /**

View File

@ -1,6 +1,6 @@
<?php <?php
namespace tests\Integration\Domain\SecureManagement; namespace tests\Integration\Domain\Secure;
use Infinito\Entity\Source\AbstractSource; use Infinito\Entity\Source\AbstractSource;
use Infinito\DBAL\Types\Meta\Right\LayerType; use Infinito\DBAL\Types\Meta\Right\LayerType;
@ -9,7 +9,7 @@ use Infinito\Entity\Meta\Right;
use Infinito\Domain\Request\Right\RequestedRight; use Infinito\Domain\Request\Right\RequestedRight;
use Infinito\Domain\Request\Entity\RequestedEntityInterface; use Infinito\Domain\Request\Entity\RequestedEntityInterface;
use Symfony\Bundle\FrameworkBundle\Test\KernelTestCase; use Symfony\Bundle\FrameworkBundle\Test\KernelTestCase;
use Infinito\Domain\SecureManagement\SecureRequestedRightCheckerServiceInterface; use Infinito\Domain\Secure\SecureRequestedRightCheckerServiceInterface;
/** /**
* @author kevinfrantz * @author kevinfrantz

View File

@ -17,7 +17,7 @@ use Infinito\Entity\EntityInterface;
use Symfony\Component\Form\FormBuilderInterface; use Symfony\Component\Form\FormBuilderInterface;
use Infinito\Domain\Form\RequestedActionFormBuilderServiceInterface; use Infinito\Domain\Form\RequestedActionFormBuilderServiceInterface;
use Infinito\Domain\Request\Action\RequestedActionServiceInterface; use Infinito\Domain\Request\Action\RequestedActionServiceInterface;
use Infinito\Domain\SecureManagement\SecureRequestedRightCheckerServiceInterface; use Infinito\Domain\Secure\SecureRequestedRightCheckerServiceInterface;
/** /**
* @author kevinfrantz * @author kevinfrantz

View File

@ -12,7 +12,7 @@ use Infinito\Entity\Source\PureSourceInterface;
use Infinito\Domain\Action\ActionService; use Infinito\Domain\Action\ActionService;
use Doctrine\ORM\EntityManagerInterface; use Doctrine\ORM\EntityManagerInterface;
use Infinito\Domain\Request\Action\RequestedActionServiceInterface; use Infinito\Domain\Request\Action\RequestedActionServiceInterface;
use Infinito\Domain\SecureManagement\SecureRequestedRightCheckerServiceInterface; use Infinito\Domain\Secure\SecureRequestedRightCheckerServiceInterface;
use Symfony\Component\HttpFoundation\RequestStack; use Symfony\Component\HttpFoundation\RequestStack;
use Infinito\Domain\Repository\LayerRepositoryFactoryServiceInterface; use Infinito\Domain\Repository\LayerRepositoryFactoryServiceInterface;
use Infinito\Domain\Form\RequestedActionFormBuilderServiceInterface; use Infinito\Domain\Form\RequestedActionFormBuilderServiceInterface;

View File

@ -1,6 +1,6 @@
<?php <?php
namespace tests\Unit\Domain\SecureManagement; namespace tests\Unit\Domain\Secure;
use PHPUnit\Framework\TestCase; use PHPUnit\Framework\TestCase;
use Infinito\Entity\Source\AbstractSource; use Infinito\Entity\Source\AbstractSource;
@ -9,7 +9,7 @@ use Infinito\DBAL\Types\Meta\Right\CRUDType;
use Infinito\Entity\Meta\Right; use Infinito\Entity\Meta\Right;
use Infinito\Domain\Request\Right\RequestedRight; use Infinito\Domain\Request\Right\RequestedRight;
use Infinito\Domain\Request\Entity\RequestedEntityInterface; use Infinito\Domain\Request\Entity\RequestedEntityInterface;
use Infinito\Domain\SecureManagement\SecureRequestedRightCheckerService; use Infinito\Domain\Secure\SecureRequestedRightCheckerService;
use Infinito\Domain\Right\RightTransformerService; use Infinito\Domain\Right\RightTransformerService;
use Infinito\Domain\Request\Right\RequestedRightInterface; use Infinito\Domain\Request\Right\RequestedRightInterface;

View File

@ -1,12 +1,12 @@
<?php <?php
namespace Tests\Unit\Domain\SecureManagement; namespace Tests\Unit\Domain\Secure;
use PHPUnit\Framework\TestCase; use PHPUnit\Framework\TestCase;
use Infinito\Entity\Source\SourceInterface; use Infinito\Entity\Source\SourceInterface;
use Infinito\Domain\SecureManagement\SecureSourceCheckerInterface; use Infinito\Domain\Secure\SecureSourceCheckerInterface;
use Infinito\Entity\Source\AbstractSource; use Infinito\Entity\Source\AbstractSource;
use Infinito\Domain\SecureManagement\SecureSourceChecker; use Infinito\Domain\Secure\SecureSourceChecker;
use Infinito\Entity\Meta\Right; use Infinito\Entity\Meta\Right;
use Infinito\DBAL\Types\Meta\Right\LayerType; use Infinito\DBAL\Types\Meta\Right\LayerType;
use Infinito\DBAL\Types\Meta\Right\CRUDType; use Infinito\DBAL\Types\Meta\Right\CRUDType;