From: Raphaƫl Gertz Date: Sun, 3 Nov 2024 04:40:25 +0000 (+0100) Subject: Cleanup X-Git-Tag: 0.0.7~3 X-Git-Url: https://git.rapsys.eu/treebundle/commitdiff_plain/562ae83a0c108282cf1eab42e1c873546b76a914?hp=49a751834b25f6945cda0fc4413b82e6a7435d32 Cleanup Pass checker, doctrine and facebook to constructor --- 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: