P4Sam
2012-12-06 22:20:01 UTC
Posted on behalf of forum user 'P4Sam'.
[http://forums.perforce.com/index.php?app=forums&module=forums§ion=findpost&pid=6687]
Stephen Garcia, on 2012/12/06 17:21:11 UTC, said:
> protect table
>
> super user root * //...
> write user user1 * //area1/...
> write user user2 * //area2/...
> write user user3 * //area2/extra/...
> write user user3 * //area1/proj2/...
> write user root * -//testDepot/...
>
> expectations (result)
>
> root has access to all depots, except testDepot (success)
> user1 access to proj1 and proj2 (failed, no depots visible)
> user2 has access to proj3 and proj4 (failed, no depots visible)
> user3 has access to proj2 and proj4 (failed, no depots visible)
>
Everything as you have it above looks exactly right, so I suspect there's
some additional complexity (or possibly a typo) in the actual protection table
that's the source of the problem. If you're able, I'd suggest
sending a cut-and-paste of the following to support (assuming you don't want
to post your actual data here):
1) p4 protect -o (as root)
2) p4 depots (as root)
3) p4 info (as user1)
4) p4 depots (as user1)
--
Please click here to see the post in its original format:
http://forums.perforce.com/index.php?/topic/2199-depot-hierarchy-and-p4-protect
[http://forums.perforce.com/index.php?app=forums&module=forums§ion=findpost&pid=6687]
Stephen Garcia, on 2012/12/06 17:21:11 UTC, said:
> protect table
>
> super user root * //...
> write user user1 * //area1/...
> write user user2 * //area2/...
> write user user3 * //area2/extra/...
> write user user3 * //area1/proj2/...
> write user root * -//testDepot/...
>
> expectations (result)
>
> root has access to all depots, except testDepot (success)
> user1 access to proj1 and proj2 (failed, no depots visible)
> user2 has access to proj3 and proj4 (failed, no depots visible)
> user3 has access to proj2 and proj4 (failed, no depots visible)
>
Everything as you have it above looks exactly right, so I suspect there's
some additional complexity (or possibly a typo) in the actual protection table
that's the source of the problem. If you're able, I'd suggest
sending a cut-and-paste of the following to support (assuming you don't want
to post your actual data here):
1) p4 protect -o (as root)
2) p4 depots (as root)
3) p4 info (as user1)
4) p4 depots (as user1)
--
Please click here to see the post in its original format:
http://forums.perforce.com/index.php?/topic/2199-depot-hierarchy-and-p4-protect