list products with DTO

This commit is contained in:
Tykayn 2025-02-17 16:34:21 +01:00 committed by tykayn
parent cd4b678002
commit 0d672d5447
7 changed files with 57 additions and 11 deletions

View file

@ -25,12 +25,13 @@ security:
logout:
path: app_logout
# where to redirect after logout
# target: app_any_route
target: dashboard
# Contrôle d'accès
access_control:
- { path: ^/admin, roles: ROLE_ADMIN }
- { path: ^/logged, roles: ROLE_USER }
- { path: ^/dashboard, roles: ROLE_USER }
- { path: ^/docs, roles: PUBLIC_ACCESS } # Allows accessing the Swagger UI
- { path: ^/authentication_token, roles: PUBLIC_ACCESS }
# - { path: ^/login, roles: IS_AUTHENTICATED_ANONYMOUSLY } # Autoriser l'accès à la page de connexion