You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Link share dialog email must not list local users #30670
The code in question users the ContactsManager and has no knowledge where the users come from.
Not sure if there is an easy way to prevent it to search through local users.
I suspect that it might also look through the system address book or federated address book so could also find other users.
@pmaier1 maybe to be discussed what to do with this feature. Maybe we should just limit this to contacts from the contacts app ?
searching federated addressbooks was an explicit requirement
I do wonder why... People are supposed to share using direct federated shares, no link shares. Maybe this was added before we had the "direct federated share" feature ?
I managed to also have federated users included after federated server pairing. If a remote user has an email address configured, it will be able to be completed here.
Can someone find a scenario where this is actually helpful? If not, I would
a) Remove it completely and make the autocomplete configurable in the context of Contacts app (applying to all locations where Contacts autocomplete can be used).
or
b) Make it configurable (autocomplete on/off) and only display suggestions coming from the Contacts app
ok so after #30645 is merged and backported, I'll remove the autocomplete endpoint and also the frontend code that calls it. Let's not do this directly in #30645 as I want this to be a separate PR for historic purposes.
this PR #30987 brings back autocomplete but removes local and federated users. so it's limited to user address book which is populated by the contacts app
Activity
DeepDiver1975 commentedon Mar 2, 2018
yes and this was added back then on purpose
DeepDiver1975 commentedon Mar 2, 2018
no - searching federated addressbooks was an explicit requirement
PVince81 commentedon Mar 2, 2018
ok, so just remove the local users part ?
PVince81 commentedon Mar 2, 2018
I do wonder why... People are supposed to share using direct federated shares, no link shares. Maybe this was added before we had the "direct federated share" feature ?
PVince81 commentedon Mar 2, 2018
@DeepDiver1975 do you remember where the requirement was specified ? Maybe it is obsolete now, need to see the details to find out.
PVince81 commentedon Mar 2, 2018
I see there's a key in the result
isLocalSystemBookwhich is set to true for local users but is not set for contacts.Do you know if federated users also have false ? If yes we could use that value to filter out local users from the results.
DeepDiver1975 commentedon Mar 2, 2018
not really - this was 2+ years back ....
DeepDiver1975 commentedon Mar 2, 2018
I'd need to debug this ....
PVince81 commentedon Mar 2, 2018
I managed to also have federated users included after federated server pairing. If a remote user has an email address configured, it will be able to be completed here.
PVince81 commentedon Mar 2, 2018
Observation: the remote user doesn't have
isLocalSystemBookset.So to identify users to exclude:
isLocalSystemBookis setpmaier1 commentedon Mar 13, 2018
Can someone find a scenario where this is actually helpful? If not, I would
a) Remove it completely and make the autocomplete configurable in the context of Contacts app (applying to all locations where Contacts autocomplete can be used).
or
b) Make it configurable (autocomplete on/off) and only display suggestions coming from the Contacts app
1 remaining item
PVince81 commentedon Mar 15, 2018
@DeepDiver1975 any objection to removing the email autocomplete completely ? The loss of feature would be for contacts search mostly.
PVince81 commentedon Mar 16, 2018
ok so after #30645 is merged and backported, I'll remove the autocomplete endpoint and also the frontend code that calls it. Let's not do this directly in #30645 as I want this to be a separate PR for historic purposes.
PVince81 commentedon Mar 28, 2018
@DeepDiver1975 can you take care of this ? this is mostly about backend code removal
cdamken commentedon Mar 29, 2018
DeepDiver1975 commentedon Apr 3, 2018
YES - for sure a lot of objections!
We can fix the search to limit this to real addressbooks only - but killing this feature is a no go.
@felixheidecke please gimme back the autocomplete - I take care of the backend search capabilities
PVince81 commentedon Apr 3, 2018
this PR #30987 brings back autocomplete but removes local and federated users. so it's limited to user address book which is populated by the contacts app
PVince81 commentedon Apr 4, 2018
will be in 10.0.8
lock commentedon Jul 30, 2019
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.