From d3c41aba5bc31f33b8192a30e5dea4a7f6b84b2c Mon Sep 17 00:00:00 2001 From: Jonathan Bauer Date: Wed, 6 Sep 2017 13:46:09 +0200 Subject: added network share structs added optional netshares to lectureWrite/Summary --- src/main/thrift/bwlp.thrift | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'src') diff --git a/src/main/thrift/bwlp.thrift b/src/main/thrift/bwlp.thrift index 12fa302..8bafa3a 100644 --- a/src/main/thrift/bwlp.thrift +++ b/src/main/thrift/bwlp.thrift @@ -71,6 +71,12 @@ enum DateParamError { NEGATIVE_RANGE } +enum NetShareAuth { + LOGIN_USER, + SPECIAL_USER, + GUEST_USER +} + // ############## STRUCT ############### struct UserInfo { @@ -237,6 +243,13 @@ struct NetRule { 4: i32 port, } +struct NetShare { + 4: NetShareAuth auth, + 1: string path, + 2: optional string username, + 3: optional string password, +} + // Write lecture to sat. if optional fields are not set or null, their value stays unchanged struct LectureWrite { 1: string lectureName, @@ -258,6 +271,7 @@ struct LectureWrite { 18: bool limitToLocations, 19: bool limitToAllowedUsers, 20: bool hasUsbAccess, + 21: optional list networkShares, } struct LectureSummary { @@ -308,6 +322,7 @@ struct LectureRead { 26: bool limitToLocations, 27: bool limitToAllowedUsers, 28: bool hasUsbAccess, + 29: optional list networkShares, } struct MasterTag { -- cgit v1.2.3-55-g7522