From b361c72d59db56c5c79ad8963fdd2488b12ed7f2 Mon Sep 17 00:00:00 2001 From: Kendall Nelson Date: Tue, 7 Aug 2018 15:30:01 -0700 Subject: [PATCH] Make email public field This will be used wherever sb users are searching for other users as a way to differentiate people with the same name. Change-Id: Id618f79f6556f958959f87f1057d75fc298ccc98 Story:2000132 Task: 24372 --- storyboard/db/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/storyboard/db/models.py b/storyboard/db/models.py index dba039a4..e5d32298 100644 --- a/storyboard/db/models.py +++ b/storyboard/db/models.py @@ -162,7 +162,7 @@ class User(FullText, ModelBuilder, Base): ), cascade="all, delete-orphan") - _public_fields = ["id", "openid", "full_name", "last_login", + _public_fields = ["id", "openid", "full_name", "email", "last_login", "enable_login", "is_superuser"]