4

There is a project repository A that uses framework subrepository B. Internal team has access to both. Is it possible to limit access to B for external team without breaking possibility to work with A?

Currently it says "abort: response expected (in subrepo ...)" when cancel password entering during cloning. Or maybe there is another way for collaboration with different access rules?

Thanks in advance!

4

1 回答 1

1

Sorry, not possible. Actions on the "parent" repo require at least read access to the "child" repo. It's probably a lot of work at this point, but one thing to consider is making them both "sibling" repositories of an "outer" umbrella repo. That setup would look like:

 UMBRELLA
     PROJECT
     FRAMEWORK

Then people w/ access to both can checkout UMBRELLA and have both in known, predictable locations and can still do commits across both from a single location. Those that can access PROJECT but not FRAMEWORK would check out only PROJECT.

于 2013-12-30T03:33:19.397 回答