Skip to content

Commit

Permalink
Moved PermissionCheckContext to contracts
Browse files Browse the repository at this point in the history
  • Loading branch information
ciastektk committed Oct 31, 2024
1 parent 623d54e commit b2dc741
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

namespace Ibexa\Contracts\AdminUi\Permission;

use Ibexa\AdminUi\Values\PermissionCheckContext;
use Ibexa\Contracts\AdminUi\Values\PermissionCheckContext;
use Symfony\Component\HttpFoundation\Request;

interface PermissionCheckContextProviderInterface
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
*/
declare(strict_types=1);

namespace Ibexa\AdminUi\Values;
namespace Ibexa\Contracts\AdminUi\Values;

use Ibexa\Contracts\Core\Repository\Values\Content\Query\Criterion;
use Ibexa\Contracts\Core\Repository\Values\ValueObject;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@

namespace Ibexa\AdminUi\Permission\ContextProvider;

use Ibexa\AdminUi\Values\PermissionCheckContext;
use Ibexa\Contracts\AdminUi\Permission\PermissionCheckContextProviderInterface;
use Ibexa\Contracts\AdminUi\Values\PermissionCheckContext;
use Ibexa\Contracts\Core\Exception\InvalidArgumentException;
use Ibexa\Contracts\Core\Repository\ContentService;
use Ibexa\Contracts\Core\Repository\LocationService;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

namespace Ibexa\AdminUi\Permission\Mapper;

use Ibexa\AdminUi\Values\PermissionCheckContext;
use Ibexa\Contracts\AdminUi\Values\PermissionCheckContext;
use Ibexa\Contracts\Core\Repository\PermissionResolver;
use Ibexa\Contracts\Core\Repository\UserService;
use Ibexa\Contracts\Core\Repository\Values\Content\Search\SearchResult;
Expand Down
2 changes: 1 addition & 1 deletion src/lib/Permission/PermissionCheckContextResolver.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

namespace Ibexa\AdminUi\Permission;

use Ibexa\AdminUi\Values\PermissionCheckContext;
use Ibexa\Contracts\AdminUi\Values\PermissionCheckContext;
use Ibexa\Contracts\Core\Exception\InvalidArgumentException;
use Symfony\Component\HttpFoundation\Request;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

namespace Ibexa\AdminUi\Permission;

use Ibexa\AdminUi\Values\PermissionCheckContext;
use Ibexa\Contracts\AdminUi\Values\PermissionCheckContext;
use Symfony\Component\HttpFoundation\Request;

interface PermissionCheckContextResolverInterface
Expand Down

0 comments on commit b2dc741

Please sign in to comment.