X-Git-Url: https://git.rapsys.eu/treebundle/blobdiff_plain/3be60b1e584a8d80172c60919698340d229c99c2..2cec3e449469a1981d46d7700ed5c9c50c242595:/config/packages/rapsystree.yaml 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: