Skip to content

Fix fork button being disabled for users who can fork to group

Phil Hughes requested to merge fork-btn-enabled-user-groups into master

What does this MR do?

Enables the fork button for users who can fork into a group but not their own namespace.

The behaviour of this button was changed to be disabled for users who have exceeded their project limit. This caused an issue where the user could actually fork the project to a group namespace but not their own. This behaviour was actually already possible, users just had to navigate directly to forks/new to see the option.

Screenshots (if relevant)

If a user can fork to a group but not their own namespace they will see this & not be able to click the button.

Screen_Shot_2017-09-28_at_11.45.58

If a user can't fork into a group or their own namespace they see this.

Screen_Shot_2017-09-28_at_11.48.29

What are the relevant issue numbers?

Closes #38462 (closed)

Edited by Phil Hughes

Merge request reports