From b183be132b58fe3099c785cb782c599459c0132d Mon Sep 17 00:00:00 2001 From: Julio Date: Thu, 12 Aug 2021 13:29:50 +0200 Subject: [PATCH] Voters: Change strategy to unanimous. only grant access if none of the voters has denied access --- config/packages/security.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config/packages/security.yaml b/config/packages/security.yaml index 09645541f5..66b28e8542 100644 --- a/config/packages/security.yaml +++ b/config/packages/security.yaml @@ -37,10 +37,10 @@ security: ROLE_CURRENT_COURSE_SESSION_STUDENT: [ROLE_CURRENT_COURSE_SESSION_STUDENT] ROLE_CURRENT_COURSE_SESSION_TEACHER: [ROLE_CURRENT_COURSE_SESSION_STUDENT, ROLE_CURRENT_COURSE_SESSION_TEACHER] ROLE_ANONYMOUS: [ROLE_ANONYMOUS] - #access_decision_manager: + access_decision_manager: # strategy can be: affirmative, unanimous or consensus # only grant access if none of the voters has denied access - #strategy: unanimous + strategy: unanimous firewalls: # disables authentication for assets and the profiler, adapt it according to your needs dev: