Administrative access
P4 Server
security depends on the security level that is set and on how
authentication and access privileges are configured. See Secure the server. Access levels relevant for the administrator are
admin
and super
:
- admin grants permission to run
P4 Server
commands that affect metadata, but not server operation. A user with
admin access can edit, delete, or add files, and can use the
p4 obliterate
command. - super grants permission to run all P4 Server commands, allows the creation of depots and triggers, permits the definition of protections, and enables user management.
Users of type operator
are allowed to run commands that
affect server operation, but not metadata.
All server commands documented in the P4 CLI Reference indicate the access level needed to execute that command.
Until you define a P4 Server superuser, every user is a superuser and can run any P4 Server command on any file. After you start a new Perforce service, use the p4 protect command as soon as possible to define a P4 Server superuser.