Voters: Change strategy to unanimous.

only grant access if none of the voters has denied access
pull/3959/head
Julio 3 years ago
parent 0e23f3da16
commit b183be132b
  1. 4
      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:

Loading…
Cancel
Save