Always store users
In case of write failure user profile may become inconsistent, and there's no way to re-write it by all keys. Remove store optimization and always store users from default_data by all possible keys. Change-Id: I23e0c1107b87485d1c86e2e2133ceb77ee954b4e
This commit is contained in:
@@ -46,6 +46,7 @@ def _normalize_user(user):
|
||||
emails=user.get('emails'),
|
||||
gerrit_id=user.get('gerrit_id'),
|
||||
github_id=user.get('github_id'),
|
||||
zanata_id=user.get('zanata_id'),
|
||||
ldap_id=user.get('ldap_id')) or user.get('user_id')
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user