Merge pull request #27239 from edx/hammad/ENT-4361

ENT-4361 | Added user's "id" and "email" as public fields in ACCOUNT_VISIBILITY_CONFIGURATION.
This commit is contained in:
Hammad Ahmad Waqas
2021-04-13 17:21:43 +05:00
committed by GitHub
5 changed files with 29 additions and 22 deletions

View File

@@ -3858,6 +3858,8 @@ ACCOUNT_VISIBILITY_CONFIGURATION = {
'account_privacy',
'profile_image',
'username',
"email",
"id",
],
}
@@ -3888,8 +3890,6 @@ ACCOUNT_VISIBILITY_CONFIGURATION["custom_shareable_fields"] = (
# The list of account fields that are visible only to staff and users viewing their own profiles
ACCOUNT_VISIBILITY_CONFIGURATION["admin_fields"] = (
ACCOUNT_VISIBILITY_CONFIGURATION["custom_shareable_fields"] + [
"email",
"id",
"extended_profile",
"gender",
"state",