I'm developing a Drupal 8 website for a small volunteer organization of trusted members. For those who have a certain role on the website, we'd like to use a View to display all of the registered user information (only to other registered users). I have the View working fine, but the email field is only displayed for admin users.
I checked permissions to no avail, and have been reading through various posts for a couple of hours but none seem to answer the question.
Ideally trying to solve this within the CMS, but happy to do PHP if necessary.
Screenshot of current View output as Admin I'm trying to keep the email field when viewing as a registered, non-admin user.
Finally found a viable patch solution for this issue - thanks to those who wrote it. Patch is just a few lines in two PHP files that creates a new permission options for viewing other users' email addresses.
Patch is below, from this Drupal post.