[p4] Protections Table Help
Tetlow, Gordon
gtetlow at soe.sony.com
Tue Feb 13 15:36:09 PST 2007
> -----Original Message-----
> From: perforce-user-bounces at perforce.com
> [mailto:perforce-user-bounces at perforce.com] On Behalf Of
> Scott Marshall
> Sent: Tuesday, February 13, 2007 1:37 PM
> To: perforce-user at perforce.com
> Subject: [p4] Protections Table Help
>
> Hi there,
>
> I need to setup permissions so that all users in one of
> my groups have write access to the depot, but only read
> access to several specific paths in the same depot. If I
> use an exclusionary rule then the paths disappear from
> the users clients. I want them to be able to see the
> paths and sync/view files but not make changes to them.
>
> Any help would be appreciated.
You'll need to regrant permissions that you have taken away:
write group foobar * //path/to/write/...
list group foobar * -//path/to/write/revoke/perms/...
read group foobar * //path/to/write/revoke/perms/...
The important thing to know is that exclusionary mappings revoke *all*
permissions, no matter what permission you list (I always put list as
the permission on exclusionary mappings, just so I don't get confused).
There is some way to get around it (read p4 help undoc and look for
=read) but as it is unsupported, I don't recommend it.
-gordon
More information about the perforce-user
mailing list