New permission for duplicate & export duplicate persons

Signed-off-by: Mathieu Jaumotte <mathieu.jaumotte@champs-libres.coop>
This commit is contained in:
2021-03-21 14:14:38 +01:00
parent 0149457fba
commit c34b992437
5 changed files with 229 additions and 9 deletions

View File

@@ -15,7 +15,17 @@ services:
- "@chill.custom_field.provider"
tags:
- { name: chill.export, alias: list_person }
chill.person.export.list_person.duplicate:
class: Chill\PersonBundle\Export\Export\ListPersonDuplicate
arguments:
- "@doctrine.orm.entity_manager"
- "@translator"
- "@router"
- '%chill_main.notifications%'
tags:
- { name: chill.export, alias: list_person_duplicate }
chill.person.export.filter_gender:
class: Chill\PersonBundle\Export\Filter\GenderFilter
arguments: