mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-09-03 21:34:59 +00:00
first implementation of controller
This commit is contained in:
@@ -1 +1,3 @@
|
||||
|
||||
chill_task_controllers:
|
||||
resource: "@ChillTaskBundle/Controller"
|
||||
type: annotation
|
||||
|
2
Resources/config/services.yml
Normal file
2
Resources/config/services.yml
Normal file
@@ -0,0 +1,2 @@
|
||||
services:
|
||||
|
4
Resources/config/services/controller.yml
Normal file
4
Resources/config/services/controller.yml
Normal file
@@ -0,0 +1,4 @@
|
||||
services:
|
||||
#chill_task.single_task_controller:
|
||||
# class: Chill\TaskBundle\Controller\SingleTaskController
|
||||
# autowire: true
|
10
Resources/config/services/security.yml
Normal file
10
Resources/config/services/security.yml
Normal file
@@ -0,0 +1,10 @@
|
||||
services:
|
||||
chill_task.task_voter:
|
||||
class: Chill\TaskBundle\Security\Authorization\TaskVoter
|
||||
arguments:
|
||||
- "@security.access.decision_manager"
|
||||
- "@chill.main.security.authorization.helper"
|
||||
- "@logger"
|
||||
tags:
|
||||
- { name: security.voter }
|
||||
- { name: chill.role }
|
Reference in New Issue
Block a user