mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-24 11:06:14 +00:00
For consistency with other bundles voters are\ registered under the security.yaml file.
15 lines
478 B
YAML
15 lines
478 B
YAML
services:
|
|
_defaults:
|
|
autowire: true
|
|
autoconfigure: true
|
|
Chill\DocStoreBundle\Security\Authorization\StoredObjectVoter:
|
|
arguments:
|
|
$storedObjectVoters:
|
|
# context specific voters
|
|
- '@accompanying_course_document_voter'
|
|
tags:
|
|
- { name: security.voter }
|
|
|
|
accompanying_course_document_voter:
|
|
class: Chill\DocStoreBundle\Security\Authorization\AccompanyingCourseDocumentVoter
|