mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-24 00:23:50 +00:00
use event to override vote on task
Now, the bundle dispatch an event `chill_task.vote` to override the authorization on voting on a task. If a subscriber or listener emits a vote on the event, this vote override the logic defined for the default task.
This commit is contained in:
@@ -4,6 +4,7 @@ services:
|
||||
arguments:
|
||||
- "@security.access.decision_manager"
|
||||
- "@chill.main.security.authorization.helper"
|
||||
- '@Symfony\Component\EventDispatcher\EventDispatcherInterface'
|
||||
- "@logger"
|
||||
tags:
|
||||
- { name: security.voter }
|
||||
|
Reference in New Issue
Block a user