Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Going to settings page of a repo you aren't admin does give proper 404 page #7475

Closed
richmahn opened this issue Jul 15, 2019 · 0 comments · Fixed by #7482
Closed

Going to settings page of a repo you aren't admin does give proper 404 page #7475

richmahn opened this issue Jul 15, 2019 · 0 comments · Fixed by #7482
Labels
Milestone

Comments

@richmahn
Copy link
Contributor

Using the latest version of 1.10+dev on try.gitea.io, if you go to https://try.gitea.io/richmahn/test/settings/collaboration as a user that doesn't have access to the repo, you get this error:

template: repo/header:35:51: executing "repo/header" at <$.UnitTypeCode>: invalid value; expected models.UnitType

instead of a 404 page.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants