add report voter + tests

This commit is contained in:
2015-06-22 23:47:01 +02:00
parent b7a17af682
commit 4d2b3f2a61
3 changed files with 267 additions and 1 deletions

View File

@@ -18,4 +18,11 @@ services:
arguments:
- '@doctrine.orm.entity_manager'
tags:
- { name: chill.timeline, context: 'person' }
- { name: chill.timeline, context: 'person' }
chill.report.security.authorization.report_voter:
class: Chill\ReportBundle\Security\Authorization\ReportVoter
arguments:
- "@chill.main.security.authorization.helper"
tags:
- { name: security.voter }