From ff629d2d809c702f572994456145a80167152073 Mon Sep 17 00:00:00 2001 From: Stephan Schwär Date: Wed, 21 Apr 2021 15:13:07 +0200 Subject: [server] Fix download of images for students ImageDetailsRead object is filled with bogus information or null for variables not needed for downloading when students request to download an image linked to a lecture, as students don't have sufficient permissions to request all that information. Also check "isrestricted" flag server-side and don't supply images to students that have it set. --- dozentenmodul/src/main/properties/i18n/thrift.properties | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'dozentenmodul/src') diff --git a/dozentenmodul/src/main/properties/i18n/thrift.properties b/dozentenmodul/src/main/properties/i18n/thrift.properties index 9770aef0..0ddcffef 100644 --- a/dozentenmodul/src/main/properties/i18n/thrift.properties +++ b/dozentenmodul/src/main/properties/i18n/thrift.properties @@ -2,8 +2,8 @@ GuiErrorCallback.Message.error.notAuthenticatedOrInvalidToken=Invalid session token or failed \ authentication on {0}!\nPlease restart the program. Exit now? GuiErrorCallback.thriftError.String.errMsg=(Error {0}) -GuiErrorCallback.Message.error.transportException=The communication with {0} is interrupted. \ - Calling the function {1} is failed {2}.\n\n\ +GuiErrorCallback.Message.error.transportException=The communication with {0} was interrupted. \ + Calling the function {1} has failed {2}.\n\n\ Do you want to retry the call? # ImageLocalDetailsActions -- cgit v1.2.3-55-g7522