set admin user

This commit is contained in:
jleroy2023
2024-11-20 10:40:08 +01:00
parent caa78c634b
commit 74f6db8a80
9 changed files with 273 additions and 26 deletions

View File

@@ -44,6 +44,7 @@ security:
access_control:
- { path: ^/login, roles: PUBLIC_ACCESS }
- { path: ^/register, roles: PUBLIC_ACCESS }
- { path: ^/admin, roles: ROLE_ADMIN }
- { path: ^/, roles: ROLE_USER }
when@test: