Details
-
Suggestion
-
Resolution: Won't Fix
-
3
-
96
-
Description
Issue Summary
When forking a repository with "Allow only private forks", the resulting Fork will be private as expected. However on this private Fork, under repository Details > Advanced, further Forking will have the option selected by default "Allow forks". This means that after that, any user will have the ability to create a Private or Public Fork from there.
Steps to Reproduce
- Within existing repository details, select Advanced > Forking > Allow only Private forks
- After that, navigate to repository Source > "..." > Fork this repository
- Forked repository will be created as Private as expected
- On the Forked repository, Go to the repository settings > Repository Details > Advanced
- Forking option will have "Allow Forks" selected, this means both Private and Public forks are possible
Ask for improvement
For any forked repos that were created off the repo with "Allow only Private forks" setting, the ask that by default the option selected for the forked repo should be "Allow only Private forks" too.
Also add additional options when Fork is created to be configurable by Admins:
- "Prevent creating a fork of a fork"
- "Only allow forks within the same workspace as parent repo"
Workaround
After a Fork is created, owner of the forked repo can manually set forking preferences on the repo, to allow all forks or only Private forks.