From 736b006cd3c83013391eb48fa30678eaf2ec328e Mon Sep 17 00:00:00 2001 From: Domenico Date: Fri, 3 Jun 2022 21:49:02 -0500 Subject: [PATCH] user tweaks --- src/etools/applications/users/admin.py | 3 ++- src/etools/applications/users/tasks.py | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/etools/applications/users/admin.py b/src/etools/applications/users/admin.py index d4e8d1b67..a90742808 100644 --- a/src/etools/applications/users/admin.py +++ b/src/etools/applications/users/admin.py @@ -115,7 +115,8 @@ class ProfileAdmin(admin.ModelAdmin): search_fields = ( 'tenant_profile__office__name', 'country__name', - 'user__email' + 'user__email', + 'guid' ) readonly_fields = ( 'user', diff --git a/src/etools/applications/users/tasks.py b/src/etools/applications/users/tasks.py index c9f5593b7..240ecd6a0 100644 --- a/src/etools/applications/users/tasks.py +++ b/src/etools/applications/users/tasks.py @@ -20,7 +20,7 @@ class AzureUserMapper: 'mail', 'surname', 'userType', - ('companyName', ['UNICEF', ]), + # ('companyName', ['UNICEF', ]), ] USER_ATTR_MAP = {