mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-24 11:06:14 +00:00
refs #573 Squashed commit of the following: commit 33635722c231a3a80518e0dc027911766a95cbfa Author: Julien Fastré <julien.fastre@champs-libres.coop> Date: Sun Sep 20 21:42:37 2015 +0200 translation of roles commit 18d96fe59f836564ace5e6045fa87ac81da6b27b Author: Julien Fastré <julien.fastre@champs-libres.coop> Date: Sun Sep 20 11:54:46 2015 +0200 remove admin menu for person bundle commit 2acd79930e28fda315d97df2c0ff8aae33ab489a Author: Julien Fastré <julien.fastre@champs-libres.coop> Date: Fri Sep 18 21:05:00 2015 +0200 add logger to project commit 724d2fc8685fced0cf9da77e9e9730c5c57337ed Author: Julien Fastré <julien.fastre@champs-libres.coop> Date: Mon Sep 14 00:50:01 2015 +0200 switch to role declaration in code commit 10f6219b277445b0dfeb51fa0b7566a28fdd41bf Author: Julien Fastré <julien.fastre@champs-libres.coop> Date: Mon Aug 31 23:51:47 2015 +0200 declare role in parameter chill.available_roles
51 lines
1.8 KiB
YAML
51 lines
1.8 KiB
YAML
parameters:
|
|
# cl_chill_person.example.class: Chill\PersonBundle\Example
|
|
|
|
services:
|
|
chill.person.accompanying_period_closing_motive:
|
|
class: Chill\PersonBundle\Form\Type\ClosingMotiveType
|
|
scope: request
|
|
arguments:
|
|
- "@request"
|
|
tags:
|
|
- { name: form.type, alias: closing_motive }
|
|
|
|
chill.person.search_person:
|
|
class: Chill\PersonBundle\Search\PersonSearch
|
|
arguments:
|
|
- "@doctrine.orm.entity_manager"
|
|
- "@security.token_storage"
|
|
- "@chill.main.security.authorization.helper"
|
|
calls:
|
|
- ['setContainer', ["@service_container"]]
|
|
tags:
|
|
- { name: chill.search, alias: 'person_regular' }
|
|
chill.person.form.type.select2maritalstatus:
|
|
class: Chill\PersonBundle\Form\Type\Select2MaritalStatusType
|
|
arguments:
|
|
- "@request_stack"
|
|
- "@doctrine.orm.entity_manager"
|
|
tags:
|
|
- { name: form.type, alias: select2_chill_marital_status }
|
|
chill.person.timeline.accompanying_period_opening:
|
|
class: Chill\PersonBundle\Timeline\TimelineAccompanyingPeriodOpening
|
|
arguments:
|
|
- "@doctrine.orm.entity_manager"
|
|
tags:
|
|
- { name: chill.timeline, context: 'person' }
|
|
|
|
chill.person.timeline.accompanying_period_closing:
|
|
class: Chill\PersonBundle\Timeline\TimelineAccompanyingPeriodClosing
|
|
arguments:
|
|
- "@doctrine.orm.entity_manager"
|
|
tags:
|
|
- { name: chill.timeline, context: 'person' }
|
|
|
|
chill.person.security.authorization.person:
|
|
class: Chill\PersonBundle\Security\Authorization\PersonVoter
|
|
arguments:
|
|
- "@chill.main.security.authorization.helper"
|
|
tags:
|
|
- { name: security.voter }
|
|
- { name: chill.role }
|