diff --git a/config/packages/security.yaml b/config/packages/security.yaml index 17f38d2..2c48546 100644 --- a/config/packages/security.yaml +++ b/config/packages/security.yaml @@ -1,4 +1,7 @@ security: + role_hierarchy: + ROLE_ADMIN: [ROLE_USER, ROLE_CLIENT] + # https://symfony.com/doc/current/security.html#registering-the-user-hashing-passwords password_hashers: Symfony\Component\Security\Core\User\PasswordAuthenticatedUserInterface: 'auto'