Skip to content

Commit

Permalink
[DI] Added services definitions
Browse files Browse the repository at this point in the history
  • Loading branch information
ciastektk committed Oct 18, 2024
1 parent a73588e commit 174d784
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/bundle/Resources/config/services.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,9 @@ imports:
- { resource: services/role_form_mappers.yaml }
- { resource: services/security.yaml }

parameters:
ibexa.admin_ui.load_users_with_permission_info.limit: 10

services:
_defaults:
autowire: true
Expand Down Expand Up @@ -162,3 +165,5 @@ services:
$siteAccessGroups: '%ibexa.site_access.groups%'
tags:
- {name: kernel.event_subscriber}

Ibexa\AdminUi\User\Mapper\UsersWithPermissionInfoToContentItemMapper: ~
8 changes: 8 additions & 0 deletions src/bundle/Resources/config/services/controllers.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -252,3 +252,11 @@ services:
$imageMappings: '%ibexa.dam_widget.image.mappings%'
tags:
- controller.service_arguments

Ibexa\Bundle\AdminUi\Controller\Permission\UsersWithPermissionInfoToContentItemController:
parent: Ibexa\Rest\Server\Controller
arguments:
$userQueryType: '@Ibexa\AdminUi\QueryType\UserQueryType'
$limit: '%ibexa.admin_ui.load_users_with_permission_info.limit%'
tags:
- controller.service_arguments
2 changes: 2 additions & 0 deletions src/bundle/Resources/config/services/query_types.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,5 @@ services:
Ibexa\AdminUi\QueryType\MediaLocationSubtreeQueryType: ~

Ibexa\AdminUi\QueryType\TrashSearchQueryType: ~

Ibexa\AdminUi\QueryType\UserQueryType: ~

0 comments on commit 174d784

Please sign in to comment.