Closed
Description
I saw something that could be a bug (maybe Units).
If you following the procedure you will see a 404 error:
- Create an organization with user1 (user1 is in owner team)
- Create public repo with user1
- Add user2 to organization but do not put him in a team
- Access with user2 to the organization page
- click on the repository
- 404 error
You can also have a 404, by accessing a public repository in organization with a user not part of it.
It seems that the 404 error is triggered by routers/repo/view.go#L270.
commit: 977dcf9