-
-
Notifications
You must be signed in to change notification settings - Fork 6.2k
Closed
Description
- Gitea version (or commit ref): 8e202e2
- Git version:
- Operating system: Linux
- Database (use
[x]):- PostgreSQL
- MySQL
- MSSQL
- SQLite
- Can you reproduce the bug at https://try.gitea.io:
- Yes (provide example URL) - https://try.gitea.io/secretorg/defaultrepo/
- No
- Not relevant
- Log gist:
Description
TLDR: Public repositories of a private organization are not hidden properly.
1, create a private organization: secretorg
2, create a new repository in it, without marking as private, defaultrepo
3, check : https://try.gitea.io/secretorg/defaultrepo/ -> repository navigation header is visible, with a 404 in the middle
4, check : https://try.gitea.io/secretorg/defaultrepo/ssues - everything visible, etc
For a private organization, I would expect, that their repositories would be invisible for non-members.

