diff options
Diffstat (limited to 'src/main/thrift/bwlp.thrift')
-rw-r--r-- | src/main/thrift/bwlp.thrift | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/main/thrift/bwlp.thrift b/src/main/thrift/bwlp.thrift index b241b1a..5034a03 100644 --- a/src/main/thrift/bwlp.thrift +++ b/src/main/thrift/bwlp.thrift @@ -253,6 +253,7 @@ struct LectureWrite { 15: LecturePermissions defaultPermissions, 11: optional list<string> addAllowedUsers, // add allowed to see/select image in vmchooser. These are local accounts, not bwIDM/Master 16: optional list<string> remAllowedUsers, // users to remove from that list + 17: list<i32> locationIds, } struct LectureSummary { @@ -298,6 +299,7 @@ struct LectureRead { 18: bool hasInternetAccess, 19: LecturePermissions defaultPermissions, 22: optional LecturePermissions userPermissions, + 25: list<i32> locationIds, } struct MasterTag { @@ -353,6 +355,12 @@ struct SatelliteUserConfig { 1: bool emailNotifications, } +// Location of a Lecture +struct Location { + 1: i32 locationId, + 2: string locationName, +} + // ############ EXCEPTION ###################### exception TTransferRejectedException { @@ -453,6 +461,7 @@ service SatelliteServer { list<OperatingSystem> getOperatingSystems(), list<Virtualizer> getVirtualizers(), list<Organization> getAllOrganizations(), + list<Location> getLocations(), SatelliteStatus getStatus(), |