summaryrefslogtreecommitdiffstats
path: root/src/main/thrift
diff options
context:
space:
mode:
authorSimon Rettberg2018-11-23 15:06:52 +0100
committerSimon Rettberg2018-11-23 15:06:52 +0100
commite48a7c0c45cf002e8865dc316766dd9074790d90 (patch)
tree0fc39c6526a49719717d9e49007839cf57ae066e /src/main/thrift
parentthrift-compile.sh: Smarter change detection (diff)
downloadmaster-sync-shared-e48a7c0c45cf002e8865dc316766dd9074790d90.tar.gz
master-sync-shared-e48a7c0c45cf002e8865dc316766dd9074790d90.tar.xz
master-sync-shared-e48a7c0c45cf002e8865dc316766dd9074790d90.zip
[thrift] Sat interface for getting predefined shares/filters
Diffstat (limited to 'src/main/thrift')
-rw-r--r--src/main/thrift/bwlp.thrift13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/main/thrift/bwlp.thrift b/src/main/thrift/bwlp.thrift
index 02fb1f5..0d82503 100644
--- a/src/main/thrift/bwlp.thrift
+++ b/src/main/thrift/bwlp.thrift
@@ -249,11 +249,19 @@ struct NetShare {
6: optional string mountpoint,
2: optional string username,
3: optional string password,
+ 7: optional i32 shareId,
}
struct LdapFilter {
1: string attribute,
2: string value,
+ 3: optional i32 filterId,
+ 4: optional string title,
+}
+
+struct PredefinedData {
+ 1: list<NetShare> netShares,
+ 2: list<LdapFilter> ldapFilter,
}
// Write lecture to sat. if optional fields are not set or null, their value stays unchanged
@@ -614,6 +622,11 @@ service SatelliteServer {
// Set new owner of lecture
void setLectureOwner(1: Token userToken, 2: UUID lectureId 3: UUID newOwnerId)
throws (1:TAuthorizationException authError, 2:TNotFoundException notFound, 3:TInvocationException serverError),
+
+ // Get predefined stuff
+ PredefinedData getPredefinedData(1: Token userToken)
+ throws (1:TAuthorizationException authError, 2:TInvocationException serverError),
+
}
// Central master server