Administrative access

Helix Core 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 Helix Core 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 Helix Core 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 Helix Core Command-Line (P4) Reference indicate the access level needed to execute that command.

Until you define a Helix Core Server superuser, every user is a superuser and can run any Helix Core Server command on any file. After you start a new Perforce service, use the following command:

$ p4 protect

as soon as possible to define a Helix Core Server superuser.