Re: [p4] P4 Protect, Group Write access to everything BUT anything matching a specific folder name
jknobel <[email protected]>
| Newsgroups | gmane.comp.version-control.perforce |
|---|---|
| Message-ID | <[email protected]> |
Posted on behalf of forum user 'jknobel'. [https://forums.perforce.com/index.php?app=forums&module=forums§ion=findpost&pid=22467] Sambwise, on 2017/10/10 06:54:12 UTC, said: > Ah, so you want something like: > > write group Developers * //Project/... write user * * -//.../Console/... write user * * -//.../EngineStaging/... write group ConsoleDevelopers * //.../Console/... > I'd recommend against doing this, personally, and organize your depot such that those "Console" and "EngineStaging" directories are somewhere more specific rather than scattered at arbitrary locations through the directory structure. The above setup will let ConsoleDevelopers create a "Console" directory at any part of the depot hierarchy (even though they may not be able to see the containing folder, which may lead to some weird conflicts), and as you add platforms you may see performance problems with the mappings. > > The initial idea of just having //Project/Console1, //Project/Console2, etc will lend itself to much easier depot management. Remember that if you need to pull files into specific juxtapositions for a build this is easy to do with workspace views; it's better to optimize your basic depot structure for the way that most of your developers are actually working and for the way that you need to control access. > I completely agree, problem is the console code/content is additive to the existing engine code base and not something that can be out of it. Ideally I'd house the code/content in a seperate stream but because it's additive that won't work with view management due to streams not supporting overlay mapping. Which is a real pain... Thanks heaps tho, that worked! -- Please click here to see the post in its original format: http://forums.perforce.com/index.php?/topic/5511-p4-protect-group-write-access-to-everything-but-anything-matching-a-specific-folder-name _______________________________________________ perforce-user mailing list - [email protected] http://maillist.perforce.com/mailman/listinfo/perforce-user