Skip to content

Error while displaying public repo (404) #1794

Closed
@DblK

Description

@DblK

I saw something that could be a bug (maybe Units).
If you following the procedure you will see a 404 error:

  1. Create an organization with user1 (user1 is in owner team)
  2. Create public repo with user1
  3. Add user2 to organization but do not put him in a team
  4. Access with user2 to the organization page
  5. click on the repository
  6. 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions