From 05e24db6ca8bd18f821f6f5731551b351ff9841a Mon Sep 17 00:00:00 2001 From: matthieu Date: Sun, 15 Mar 2026 19:21:28 +0100 Subject: [PATCH] feat(security) : add role hierarchy for client portal Co-Authored-By: Claude Sonnet 4.6 --- config/packages/security.yaml | 3 +++ 1 file changed, 3 insertions(+) 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'