User can see repositories they don't have access to #1091

Closed
opened 2025-11-02 03:48:12 -06:00 by GiteaMirror · 1 comment
Owner

Originally created by @kolaente on GitHub (Sep 24, 2017).

  • Gitea version (or commit ref): 1.2.0+rc1 (Official Docker Container)
  • Git version: 2.11.3
  • Database (use [x]):
    • PostgreSQL
    • MySQL
    • MSSQL
    • SQLite
  • Can you reproduce the bug at https://try.gitea.io:
    • Yes (provide example URL)
    • No
    • Not relevant
  • Log gist:

Description

I created a Team who's members only have access to issues and wiki. When I logged in with a member of this team, i could still see all private repositories of the organisation the user is part of (but not access them, got a 404) in the repository list to the right on the startpage. Don'T know if this is intended, seems like a bug.

Originally created by @kolaente on GitHub (Sep 24, 2017). - Gitea version (or commit ref): 1.2.0+rc1 (Official Docker Container) - Git version: 2.11.3 - Database (use `[x]`): - [ ] PostgreSQL - [x] MySQL - [ ] MSSQL - [ ] SQLite - Can you reproduce the bug at https://try.gitea.io: - [ ] Yes (provide example URL) - [ ] No - [x] Not relevant - Log gist: ## Description I created a Team who's members only have access to issues and wiki. When I logged in with a member of this team, i could still see all private repositories of the organisation the user is part of (but not access them, got a 404) in the repository list to the right on the startpage. Don'T know if this is intended, seems like a bug.
GiteaMirror added the type/bug label 2025-11-02 03:48:12 -06:00
Author
Owner

@daviian commented on GitHub (Sep 25, 2017):

Related to #2562, #2399 and #1794

@daviian commented on GitHub (Sep 25, 2017): Related to #2562, #2399 and #1794
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#1091