[p4] Validation and Changelists
streak at narus.com
Wed Aug 22 17:27:57 PDT 2007
Dix, John wrote:
> It seems that Changelist submissions can be altered after they have been
> submitted to the depot and it doesn't record what user did the altering.
> This is a very bad thing in a Validated environment such as ours. Is
> there a way to tell who altered the changelist description, or to
> prevent it from happening?
On a 2007.2 server's "p4 help change":
"The -f flag can force the update or deletion of other users' pending
changelists. -f can also force the deletion of submitted changelists
once they have been emptied of files via 'p4 obliterate'. Normally,
submitted changelists are immutable. The -f flag requires 'admin'
access granted by 'p4 protect'. The -f and -u flags are mutually exclusive.
The -u flag can force the update of a submitted change by the owner
of the change. Only the Jobs and Description fields can be changed
using the -u flag. The -f and -u flags cannot be used in the same
So the owner or a superuser can change the changelist.
The easiest way to prevent it would be to write a trigger.
More information about the perforce-user