mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-07-05 16:35:10 +00:00
Removed tight coupling of group membership expansion and LDAPSource.
Any implementation of SOGoSource may now support group expansion by implementing the protocol MembershipAwareSource.
This commit is contained in:
@@ -118,4 +118,10 @@
|
||||
- (void) updateBaseDNFromLogin: (NSString *) theLogin;
|
||||
@end
|
||||
|
||||
@protocol MembershipAwareSource <SOGoSource>
|
||||
- (NSArray *) membersForGroupWithUID: (NSString *) uid;
|
||||
- (BOOL) groupWithUIDHasMemberWithUID: (NSString *) uid
|
||||
memberUid: (NSString *) memberUid;
|
||||
@end
|
||||
|
||||
#endif /* SOGOSOURCE_H */
|
||||
|
||||
Reference in New Issue
Block a user