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=22464] Sambwise, on 2017/10/10 05:30:30 UTC, said: > Protections (and most specs) use absolute paths rather than stream-relative paths. I think this is the protection structure you want (if you run "p4 protect" you can just paste this in): > > write group Developers * //Project/... write group Developers * -//Project/Console/... write group Developers * -//Project/EngineStaging/... write group ConsoleDevelopers * //Project/Console/... > I tried to simplify it a little for readability -- since the ConsoleDevelopers group never gets access to anything else in //Project, removing access from that group is unnecessary. Similarly, you only need to remove Console/... access from Developers. > Thanks for the reply! Yeah sorry I tried to simplify it potentially a little too much so my question didn't come across as well. Problem is that works if the folder is at root, ideally what I'm looking for is to prevent folders being access if they are called Console anywhere in a stream. (Console will be replaced with specific platform names). Much like you can do with ignoring in Stream Views. Hope that makes sense -- 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