[PR #1026] [MERGED] fix: Admin can see all private repositories on Explore page. #15716

Closed
opened 2025-11-02 11:52:58 -06:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/go-gitea/gitea/pull/1026
Author: @appleboy
Created: 2/23/2017
Status: Merged
Merged: 2/26/2017
Merged by: @lunny

Base: masterHead: explore


📝 Commits (2)

  • 49b77ec fix: Admin can see all private repositories on Explore page.
  • 608a183 refactor: fix session

📊 Changes

4 files changed (+39 additions, -25 deletions)

View changed files

📝 models/issue_indexer.go (+1 -1)
📝 models/repo.go (+32 -16)
📝 routers/admin/repos.go (+0 -1)
📝 routers/home.go (+6 -7)

📄 Description

fix #1022

  • Remove counter function in RepoSearchOptions
  • Check IsAdmin Flag in search.

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/go-gitea/gitea/pull/1026 **Author:** [@appleboy](https://github.com/appleboy) **Created:** 2/23/2017 **Status:** ✅ Merged **Merged:** 2/26/2017 **Merged by:** [@lunny](https://github.com/lunny) **Base:** `master` ← **Head:** `explore` --- ### 📝 Commits (2) - [`49b77ec`](https://github.com/go-gitea/gitea/commit/49b77ec208d42a1809d7a369717c7e80fed93a35) fix: Admin can see all private repositories on Explore page. - [`608a183`](https://github.com/go-gitea/gitea/commit/608a183df215450244cff389809711e9352bf2f3) refactor: fix session ### 📊 Changes **4 files changed** (+39 additions, -25 deletions) <details> <summary>View changed files</summary> 📝 `models/issue_indexer.go` (+1 -1) 📝 `models/repo.go` (+32 -16) 📝 `routers/admin/repos.go` (+0 -1) 📝 `routers/home.go` (+6 -7) </details> ### 📄 Description fix #1022 * Remove counter function in `RepoSearchOptions` * Check IsAdmin Flag in search. --- <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 11:52:58 -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#15716