Forks with higher repository access level than their parent are still linked
Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.
Currently, when a parent of a fork lowers its repository access level, the forks won't follow it. In #36662 (closed), we are going to copy the repository access level (and related ones) of parent when forking. But the following scenario will still be possible:
- Parent has repository access level set to
Everyone With Access - A fork of that project is created
- Parent has its repository access level down to
Only Project Members
Proposal
- Unlink forks when the parent access levels become more restrictive
- Show a modal to indicate that this is going to happen when the access level becomes restrictive
This is just like what we have for project visibility level.
Edited by 🤖 GitLab Bot 🤖