This needs a fair amount of work, takes a lot of assumptions, and most likely won't do what you want.
It’s never been easier to manage developer teams with varying permissions and multiple projects. Learn more about Private Packages and Organizations…
how? learn more