diff options
author | Stephan Schwär | 2021-04-21 15:13:07 +0200 |
---|---|---|
committer | Simon Rettberg | 2021-04-21 15:19:34 +0200 |
commit | ff629d2d809c702f572994456145a80167152073 (patch) | |
tree | 9da89632044c73e580accecfbad473e24627b828 /dozentenmodul/src | |
parent | [server] More checks and messages when renaming/deleting upload (diff) | |
download | tutor-module-ff629d2d809c702f572994456145a80167152073.tar.gz tutor-module-ff629d2d809c702f572994456145a80167152073.tar.xz tutor-module-ff629d2d809c702f572994456145a80167152073.zip |
[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.
Diffstat (limited to 'dozentenmodul/src')
-rw-r--r-- | dozentenmodul/src/main/properties/i18n/thrift.properties | 4 |
1 files changed, 2 insertions, 2 deletions
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 |