summaryrefslogtreecommitdiffstats
path: root/src/main/thrift/bwlp.thrift
diff options
context:
space:
mode:
authorSimon Rettberg2018-06-14 16:13:00 +0200
committerSimon Rettberg2018-06-14 16:13:00 +0200
commitfa93f97c19fafc53f42e574e8e483e8aa033521f (patch)
tree4d872f319d2c0cc63fddd7e8374276468c6b9608 /src/main/thrift/bwlp.thrift
parentFix formatting (diff)
downloadmaster-sync-shared-fa93f97c19fafc53f42e574e8e483e8aa033521f.tar.gz
master-sync-shared-fa93f97c19fafc53f42e574e8e483e8aa033521f.tar.xz
master-sync-shared-fa93f97c19fafc53f42e574e8e483e8aa033521f.zip
Add support for (ldap)filters for lectures
Diffstat (limited to 'src/main/thrift/bwlp.thrift')
-rw-r--r--src/main/thrift/bwlp.thrift7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/main/thrift/bwlp.thrift b/src/main/thrift/bwlp.thrift
index 4f4f4b1..02fb1f5 100644
--- a/src/main/thrift/bwlp.thrift
+++ b/src/main/thrift/bwlp.thrift
@@ -251,6 +251,11 @@ struct NetShare {
3: optional string password,
}
+struct LdapFilter {
+ 1: string attribute,
+ 2: string value,
+}
+
// Write lecture to sat. if optional fields are not set or null, their value stays unchanged
struct LectureWrite {
1: string lectureName,
@@ -273,6 +278,7 @@ struct LectureWrite {
19: bool limitToAllowedUsers,
20: bool hasUsbAccess,
21: optional list<NetShare> networkShares,
+ 22: optional list<LdapFilter> ldapFilters,
}
struct LectureSummary {
@@ -324,6 +330,7 @@ struct LectureRead {
27: bool limitToAllowedUsers,
28: bool hasUsbAccess,
29: optional list<NetShare> networkShares,
+ 30: optional list<LdapFilter> ldapFilters,
}
struct MasterTag {