From 098902f95cfc2e1b44cc94b04e7083c18d2ed9b9 Mon Sep 17 00:00:00 2001
From: Daniel Gerhardt <code@dgerhardt.net>
Date: Wed, 6 Jul 2016 19:50:51 +0200
Subject: [PATCH] Document `security.*.allowed-roles` setting

---
 src/main/resources/arsnova.properties.example | 2 ++
 src/test/resources/arsnova.properties.example | 2 ++
 2 files changed, 4 insertions(+)

diff --git a/src/main/resources/arsnova.properties.example b/src/main/resources/arsnova.properties.example
index ee1bab973..7e7358990 100644
--- a/src/main/resources/arsnova.properties.example
+++ b/src/main/resources/arsnova.properties.example
@@ -57,6 +57,8 @@ security.authentication.login-try-limit=50
 
 # Configuration parameters for authentication services:
 # enabled: enable or disable the service
+# allowed-roles: enable/disable service for a specific role (valid roles: speaker, student)
+#   (security note: this is currently only handled by the frontend!)
 # title: the title which is displayed by frontends
 # login-dialog-path: URL of a login dialog page
 # image: an image which is used for frontend buttons
diff --git a/src/test/resources/arsnova.properties.example b/src/test/resources/arsnova.properties.example
index ee1bab973..7e7358990 100644
--- a/src/test/resources/arsnova.properties.example
+++ b/src/test/resources/arsnova.properties.example
@@ -57,6 +57,8 @@ security.authentication.login-try-limit=50
 
 # Configuration parameters for authentication services:
 # enabled: enable or disable the service
+# allowed-roles: enable/disable service for a specific role (valid roles: speaker, student)
+#   (security note: this is currently only handled by the frontend!)
 # title: the title which is displayed by frontends
 # login-dialog-path: URL of a login dialog page
 # image: an image which is used for frontend buttons
-- 
GitLab