-
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
Option to hide users' email address #537
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
There is a PR #336 to resolve this, please discuss there. |
I am ok with continuing the discussion over there, but I think it is the wrong way around. A newcomer will normally search the issues and not the pull requests. (That was exactly what I did and I did not find that someone was already working on my issue. The discussion on Gitter helped me a lot, so I decided to open this issue) |
@derSuessmann My proposal is this:
Thoughts? |
|
I agree, but would prefer DEFAULT_KEEP_EMAIL_PRIVATE as it has a positive logic and includes the hiding of the real email address in git log. My proposal for a change is: User requirement Change requirements
|
All requirements can be fulfilled. I have just pushed the code to the keep-email-private branch in my fork. First tests were successful. |
@derSuessmann I like it, please make a PR 😉 Only think I can say up front is WRT REQ5, that would be |
I think the email address should be a special domain like |
Finally, I came to the conclusion that it would be best, if the site administrator could configure the domain of the email address for the "Keep Email Private" users in git log.
|
right, that makes even more sense. Now for git-log... we can't do that without rewriting the git history, which is completely out of the question for a ton of reasons 😒 |
Perhaps, I should be clearer:
|
* add ShowEmail bool to User model * add show/hide email checkbox on user profile settings form * add show/hide email checkbox on admin edit user form * add ShowEmail to user profile settings post handler * add ShowEmail to admin edit user post handler * show/hide emails on user profile and users directory per User.ShowEmail * add en/US translation for 'show_email'
Description
Currently, Gitea displays the users' email address on the explore users and users' profile pages. The exist two issues in Gogs #3358 and #3381. In addtion I would like to state my case:
In some cases the users' email address should be protected. This may be to avoid the harvesting of email addresses for UCE or another reason. In my context, running a Gitea server in a school's network, I am even more concerned about stalking.
Generally there seem to be two options:
The first option may be more attractive for schools. The second targets a broader audience. Maybe both should be implemented.
...
The text was updated successfully, but these errors were encountered: