mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2026-03-18 11:48:06 +00:00
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.
This commit is contained in:
@@ -22,8 +22,10 @@ namespace Chill\MainBundle\Security;
|
||||
* my_role_declaration:
|
||||
* # ...
|
||||
* tags:
|
||||
* - { name: chill.role }
|
||||
* - { name: chill_main.provide_role }
|
||||
* </pre>
|
||||
*
|
||||
* This tag is also automatically added using dependency injection autoconfiguration.
|
||||
*/
|
||||
interface ProvideRoleInterface
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user