[p4] Getting creative with the protection table
Ivey, William
william_ivey at bmc.com
Thu May 11 14:57:04 PDT 2006
I don't know if this is news to anyone else, but...
I had some leads who wanted the right to edit changelist comments,
but giving them admin rights also let them run obliterate - scary.
After thinking about it for a minute, I realized that "p4 change -f" doesn't
take a file argument while obilterate does. So I created the protection
entry:
admin group admingroup * //NoWhereAtAll/...
Needless to say, there is no depot by that name on my system.
Oddly enough, if they do run obliterate it looks like it succeeded, but
it doesn't. At least not with a 2005.1 server (if you have a different
version it's worth testing to make sure). Editing changelist comments
works fine, though.
-Wm
More information about the perforce-user
mailing list