Skip to content
GitLab
Next
Menu
Why GitLab
Pricing
Contact Sales
Explore
Why GitLab
Pricing
Contact Sales
Explore
Sign in
Get free trial
Automatically fork a project when not allowed to edit a file.
Code
Review changes
Check out branch
Download
Patches
Plain diff
Douwe Maan
requested to merge
edit-on-fork
into
master
Dec 17, 2015
Overview
5
Commits
8
Pipelines
0
Changes
Expand
Fixes
#3215 (closed)
.
To do:
Add tests
"Edit" button on file in a project the user does NOT have write access to
Clicking will automatically create a fork
When the fork has been created, the user is returned to the edit page on the original project with a notice
The user cannot change the target branch and is informed that editing will start an MR
Hitting "Commit changes" will commit and start an MR from my fork to the origin project
"Create file, "Upload file" and "New directory" buttons in a project the user does NOT have write access to
Clicking any of these options will automatically create a fork
When the fork has been created, the user is returned to the tree page on the original project with a notice
Clicking "New directory" again will show the modal. The user cannot change the target branch and is informed that editing will start an MR
Hitting "Create directory" will commit and start an MR from my fork to the origin project
cc
@dzaporozhets
@skyruler
Merge request reports