From 09e55f99dda6c3a0ef0ff9f5c40a699a1ff770aa Mon Sep 17 00:00:00 2001
From: Daniel Haag <daniel.haag@uibk.ac.at>
Date: Wed, 18 Dec 2019 09:40:37 +0100
Subject: [PATCH] openolat#159: set the survey results visible only for the
 owner by default

---
 src/main/java/org/olat/course/nodes/SurveyCourseNode.java | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/main/java/org/olat/course/nodes/SurveyCourseNode.java b/src/main/java/org/olat/course/nodes/SurveyCourseNode.java
index 5bc58de7ce2..982a2240867 100644
--- a/src/main/java/org/olat/course/nodes/SurveyCourseNode.java
+++ b/src/main/java/org/olat/course/nodes/SurveyCourseNode.java
@@ -201,8 +201,8 @@ public class SurveyCourseNode extends AbstractAccessableCourseNode {
 			config.setBooleanEntry(CONFIG_KEY_EXECUTION_BY_COACH, false);
 			config.setBooleanEntry(CONFIG_KEY_EXECUTION_BY_PARTICIPANT, true);
 			config.setBooleanEntry(CONFIG_KEY_EXECUTION_BY_GUEST, false);
-			config.setBooleanEntry(CONFIG_KEY_REPORT_FOR_OWNER, false);
-			config.setBooleanEntry(CONFIG_KEY_REPORT_FOR_COACH, true);
+			config.setBooleanEntry(CONFIG_KEY_REPORT_FOR_OWNER, true);
+			config.setBooleanEntry(CONFIG_KEY_REPORT_FOR_COACH, false);
 			config.setBooleanEntry(CONFIG_KEY_REPORT_FOR_PARTICIPANT, false);
 			config.setBooleanEntry(CONFIG_KEY_REPORT_FOR_GUEST, false);
 		}
-- 
GitLab