Web IDE forwards to a 404 for Reporters in a group with outside forking disabled
Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.
Summary
If a user with Reporter
access attempts to open the Web IDE, we automatically prompt them to fork the project. This prompt will automatically attempt to fork the project to their personal namespace, but if the group has outside group forking disabled, the page is forwarded to a 404.
Steps to reproduce
- Create or use an existing test group.
- Check "Prevent forking outside of the group" within the groups Settings >> General >> Permissions and group features area.
- Add a secondary user as a Reporter to the group.
- While signed in as that secondary user, attempt to open the web IDE on a project and accept the fork prompt.
What is the current bug behavior?
Fork prompt forwards to a 404 page when outside group forking is disabled.
What is the expected correct behavior?
Ideally we should forward to the normal forking page for that project, as reporters ARE able to fork projects within the group.
Output of checks
This bug happens on GitLab.com.
Edited by 🤖 GitLab Bot 🤖