mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-07 18:44:08 +00:00
The `chill.role` tag has been renamed to `chill_main.provide_role` to prevent any confusion and make the namespaces more consistent. During this process, the class RoleProvidersCompilerPass was deleted, simplifying the role provision process by injecting tagged services directly into the RoleProvider. The change is also reflected in multiple YAML service configurations and explained in the MIGRATION.md file.
19 lines
627 B
YAML
19 lines
627 B
YAML
services:
|
|
chill_event.event_voter:
|
|
class: Chill\EventBundle\Security\Authorization\EventVoter
|
|
arguments:
|
|
- "@security.access.decision_manager"
|
|
- "@chill.main.security.authorization.helper"
|
|
- "@logger"
|
|
tags:
|
|
- { name: security.voter }
|
|
|
|
chill_event.event_participation:
|
|
class: Chill\EventBundle\Security\Authorization\ParticipationVoter
|
|
arguments:
|
|
- "@security.access.decision_manager"
|
|
- "@chill.main.security.authorization.helper"
|
|
- "@logger"
|
|
tags:
|
|
- { name: security.voter }
|