mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-02-21 01:16:24 +00:00
When using dynamic domains with SQL sources (DomainFieldName), let WebUI and dav lookups return entries from current domain and other domains visible from the originating domain. Fixes #2269 SQLSource.m: _visibleDomainsQualifierFromDomain: returns a EOQualifier OR'ing all visible domains from specified domain (including specified domain) SQLSource.m: allEntryIDsVisibleFromDomain Replacement for allEntryIDs. Instead of returning all entries from the sql source, only return the entries visible from the specified domain. SoObjects/SOGo/SQLSource.m: allEntryIDs Changed to call allEntryIDsVisibleFromDomain with an empty domain. SQLSource.m fetchContactsMatching:inDomain: Use _visibleDomainsQualifierFromDomain to filter entries LDAPSource.m: allEntryIDsVisibleFromDomain Simply call allEntryIDs, discarding the domain. LDAP does need to do the extra domain filtering SOGoContactSourceFolder.m: toOneRelationshipKeys Call new method: allEntryIDsVisibleFromDomain
30 KiB
30 KiB