add the possibility to add a participation of a person to an event

ref #5
This commit is contained in:
2016-03-24 01:44:32 +01:00
parent 167a147f52
commit 627b9fb08f
13 changed files with 489 additions and 5 deletions

View File

@@ -6,3 +6,11 @@ services:
tags:
- { name: chill.role }
- { name: security.voter }
chill_event.event_participation:
class: Chill\EventBundle\Security\Authorization\ParticipationVoter
arguments:
- "@chill.main.security.authorization.helper"
tags:
- { name: chill.role }
- { name: security.voter }

View File

@@ -14,3 +14,10 @@ services:
- "@chill.main.helper.translatable_string"
tags:
- { name: form.type }
chill.event.form.participation_type:
class: Chill\EventBundle\Form\ParticipationType
arguments:
- "@chill.main.helper.translatable_string"
tags:
- { name: form.type }