[PR #4512] [MERGED] Respect email privacy option in user search via API #17405

Closed
opened 2025-11-02 13:11:49 -06:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/go-gitea/gitea/pull/4512
Author: @adelowo
Created: 7/25/2018
Status: Merged
Merged: 7/25/2018
Merged by: @lafriks

Base: masterHead: respect_user_email_privacy


📝 Commits (2)

  • 51835d9 respect user's email privacy option
  • 0faec68 make email visible to admin irrespective of privacy option

📊 Changes

1 file changed (+1 additions, -1 deletions)

View changed files

📝 routers/api/v1/user/user.go (+1 -1)

📄 Description

Fixes #4502 ...


---

<sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
## 📋 Pull Request Information **Original PR:** https://github.com/go-gitea/gitea/pull/4512 **Author:** [@adelowo](https://github.com/adelowo) **Created:** 7/25/2018 **Status:** ✅ Merged **Merged:** 7/25/2018 **Merged by:** [@lafriks](https://github.com/lafriks) **Base:** `master` ← **Head:** `respect_user_email_privacy` --- ### 📝 Commits (2) - [`51835d9`](https://github.com/go-gitea/gitea/commit/51835d90ae185f5b44098345c183bc0f4a155bd6) respect user's email privacy option - [`0faec68`](https://github.com/go-gitea/gitea/commit/0faec6831f973e6a8f199f5b5a1e5153c2cd5e74) make email visible to admin irrespective of privacy option ### 📊 Changes **1 file changed** (+1 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `routers/api/v1/user/user.go` (+1 -1) </details> ### 📄 Description Fixes #4502 ... ~~~I was also thinking of something along the line of the code below where you use __****__ instead of leaving it as an empty string~~~ --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2025-11-02 13:11:49 -06:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#17405