Feature: allow to filter acp by scope of the user #export #acp

This commit is contained in:
2022-10-10 20:49:17 +02:00
parent fce7c44907
commit cbd7acebd5
3 changed files with 34 additions and 27 deletions

View File

@@ -16,12 +16,11 @@ services:
- { name: chill.export, alias: avg_accompanyingcourse_duration }
## Filters
chill.person.export.filter_current_userscope:
class: Chill\PersonBundle\Export\Filter\AccompanyingCourseFilters\CurrentUserScopeFilter
Chill\PersonBundle\Export\Filter\AccompanyingCourseFilters\UserScopeFilter:
autowire: true
autoconfigure: true
tags:
- { name: chill.export_filter, alias: accompanyingcourse_current_userscope_filter }
- { name: chill.export_filter, alias: accompanyingcourse_userscope_filter }
chill.person.export.filter_current_userjob:
class: Chill\PersonBundle\Export\Filter\AccompanyingCourseFilters\CurrentUserJobFilter