-
-
Notifications
You must be signed in to change notification settings - Fork 5.7k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Can not view code in pr when change a lot #31539
Comments
Thanks for the bug report. Can you provide some more details and steps to reproduce the problem? |
We close issues that need feedback from the author if there were no new comments for a month. 🍵 |
Since "Allow maintainers to edit" is enabled, user A should have permission to view and edit the PR files. So I think in this case we should not hide the button but should allow maintainers to view and edit the files |
This feature was introduced by #18002. From its description we can see
However, I did some testing and found that when the forked repo is private, performing these operations via the web UI results in the 404 page. Maybe we need to improve the middleware to allow maintainers to access these pages. |
Description
hidden when change a lot, but click view 404.
Gitea Version
1.22.0
Can you reproduce the bug on the Gitea demo site?
Yes
Log Gist
No response
Screenshots
Git Version
No response
Operating System
No response
How are you running Gitea?
docker
Database
MySQL/MariaDB
The text was updated successfully, but these errors were encountered: