If I am a guest I can see link "add README.md". Clicking to this link takes me to 403 page.
Expected behavior - I should not see this link at all as I don't have permissions anyway.
If I am a reporter I can see link "add README.md" and a can see a form after following that link. Submitting that form shows me a 403 page.
Expected behavior - I should not see the link that invited me to add readme file.
Designs
Child items
...
Show closed items
Linked items
0
Link issues together to show that they're related or that one is blocking others.
Learn more.
I just tried these exact steps on a new 8.1 installation, and it worked fine for me. But I did duplicate the error by adding a reporter user to the project and using the reporter to commit the README. I think there just needs to be a check to prevent rendering the "Add README" link if the user doesn't have access to push.
I have seen occasional commit hook errors while working locally as in #3114 (closed), but I have never seen an outright 403 error. I could see an issue if your session expired/cookies were cleared before you hit submit.