From fa93f97c19fafc53f42e574e8e483e8aa033521f Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Thu, 14 Jun 2018 16:13:00 +0200 Subject: Add support for (ldap)filters for lectures --- src/main/thrift/bwlp.thrift | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/main/thrift/bwlp.thrift') 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 networkShares, + 22: optional list ldapFilters, } struct LectureSummary { @@ -324,6 +330,7 @@ struct LectureRead { 27: bool limitToAllowedUsers, 28: bool hasUsbAccess, 29: optional list networkShares, + 30: optional list ldapFilters, } struct MasterTag { -- cgit v1.2.3-55-g7522