server: clean up the attributes, relax the substring filter conditions
This consolidates both user and group attributes in their map_{user,group}_attribute as the only point of parsing. It adds support for custom attribute filters for groups, and makes a SubString filter on an unknown attribute resolve to just false.
This commit is contained in:
committed by
nitnelave
parent
4adb636d53
commit
bd0a58b476
@@ -83,6 +83,7 @@ pub enum GroupRequestFilter {
|
||||
GroupId(GroupId),
|
||||
// Check if the group contains a user identified by uid.
|
||||
Member(UserId),
|
||||
AttributeEquality(AttributeName, Serialized),
|
||||
}
|
||||
|
||||
impl From<bool> for GroupRequestFilter {
|
||||
|
||||
Reference in New Issue
Block a user