ldap: Add support for memberOf and wildcards

This commit is contained in:
Valentin Tolmer
2021-09-24 22:27:07 +02:00
committed by nitnelave
parent c0d866b77b
commit 09a23a1e59
3 changed files with 128 additions and 30 deletions

View File

@@ -48,6 +48,8 @@ pub enum RequestFilter {
Or(Vec<RequestFilter>),
Not(Box<RequestFilter>),
Equality(String, String),
// Check if a user belongs to a group.
MemberOf(String),
}
#[derive(PartialEq, Eq, Debug, Serialize, Deserialize, Clone, Default)]