From 1ec7f35d739ce7b8567ea93e917709764cbc90b1 Mon Sep 17 00:00:00 2001 From: thisfro Date: Mon, 14 Jun 2021 23:20:17 +0200 Subject: [PATCH] Allow unauthenticated users to view offer details --- config/packages/security.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/packages/security.yaml b/config/packages/security.yaml index 497fd75..df6ee99 100644 --- a/config/packages/security.yaml +++ b/config/packages/security.yaml @@ -47,4 +47,4 @@ security: access_control: - { path: ^/$, roles: IS_AUTHENTICATED_ANONYMOUSLY } - { path: ^/admin, roles: ROLE_ADMIN } - - { path: ^(?!/(login|register|reset-password|offers|offer|imprint)), roles: ROLE_USER } \ No newline at end of file + - { path: ^(?!/(login|register|reset-password|offers|offer/*|imprint)), roles: ROLE_USER } \ No newline at end of file