Open divansantana opened 5 years ago
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs during the next 2 weeks. Thank you for your contributions.
Also interested in this feature :sweat_smile:
https://github.com/go-gitea/gitea/issues/9017#issuecomment-574157096
This was a problem at https://projects.blender.org/blender/blender-manual/issues/104787#issuecomment-1282529, recently. It rather significantly stalls Blender's documentation migration to Gitea.
versions
[x]
):Description
I'm got a site with docs as code using a static site generator.
It gives the end user an edit button.
The edit button takes them to the repo at this URL:
https://gitea.example.com/org/project/_edit/master/docs/index.md
This opens and works fine, if the user has write access to the repo.
If the user does have write access to the repo all is well and one can edit the doc and save to master.
If one has read access but not write to repo this however fails with a 404.
On GitLab/GitHub, instead the page renders and in the background a fork is automatically created and a PR is submitted to origin.