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:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user