From 562ae83a0c108282cf1eab42e1c873546b76a914 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Rapha=C3=ABl=20Gertz?= Date: Sun, 3 Nov 2024 05:40:25 +0100 Subject: [PATCH] Cleanup Pass checker, doctrine and facebook to constructor --- config/packages/rapsystree.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/config/packages/rapsystree.yaml b/config/packages/rapsystree.yaml index 99380c5..417dcf1 100644 --- a/config/packages/rapsystree.yaml +++ b/config/packages/rapsystree.yaml @@ -1,4 +1,5 @@ # Parameters configuration +#TODO: move veranda project related stuff (name, mail, locales, logo, title, class replacement, etc) in a veranda/config/packages/veranda.yaml instead of this bundle parameters: # RapsysTree configuration @@ -28,9 +29,8 @@ rapsysuser: name: '%rapsystree.contact.name%' # Default replacement default: - admin: 'ROLE_ADMIN' - civility: 'Mister' group: [ 'User' ] + locales: '%rapsystree.locales%' languages: '%rapsystree.languages%' # Default context context: @@ -152,7 +152,7 @@ security: services: # Register tree controller Rapsys\TreeBundle\Controller\TreeController: - arguments: [ '@service_container', '@router', '@request_stack', '@translator', '@twig' ] + arguments: [ '@security.authorization_checker', '@service_container', '@doctrine', '@rapsyspack.facebook_util', '@router', '@security.helper', '@request_stack', '@translator', '@twig' ] tags: [ 'controller.service_arguments' ] # Register tree repository factory Rapsys\TreeBundle\Factory: -- 2.41.1