chill-bundles/MIGRATION.md
Julien Fastré d6a6cc2572
Rename chill.role tag to chill_main.provide_role and optimize role provider
The `chill.role` tag has been renamed to `chill_main.provide_role` to prevent any confusion and make the namespaces more consistent. During this process, the class RoleProvidersCompilerPass was deleted, simplifying the role provision process by injecting tagged services directly into the RoleProvider. The change is also reflected in multiple YAML service configurations and explained in the MIGRATION.md file.
2024-04-03 17:14:02 +02:00

281 B

Switch to symfony 5.0

  • the tag chill.role is now renamed to chill_main.provide_role.

    Note: It is not necessary to apply this tag on service definition: the tag is automatically applyied if the service implements \Chill\MainBundle\Security\ProvideRoleInterface.