Access levels required by Helix Server commands
The following table lists the minimum access level required to run each
command. For example, because p4 add
requires at
least open
access, you can run p4 add
if
you have open
, write
, admin
, or
super
access. See p4 protect in Helix Core Command-Line (P4) Reference.
Commands that list files, such as p4 describe
, list
only those files to which the user has at least list
access.
Some commands (for example, p4 change
, when you edit
a previously submitted changelist) take a -f
flag that can
only be used by
Helix Server
superusers. See
Forcing operations with the -f flag
for details.
Command | Access Level | Notes |
---|---|---|
|
||
|
An operator with A user with super can use all options |
|
aliases
|
none | |
|
||
|
||
|
The |
|
bgtask
|
super
|
|
|
The |
|
|
||
|
||
|
The |
|
|
This command doesn’t operate on specific files. Permission is granted to run the command if the user has the specified access to at least one file in any depot. |
|
check-permission (graph)
|
admin
|
|
|
||
|
The |
|
client (graph)
|
||
|
||
|
On the remote server. |
|
|
||
|
list access to the source files; |
|
|
list access to at least one file in any depot is
required to view an existing counter’s value; |
|
|
||
|
||
|
||
|
||
|
||
|
||
delete (graph)
|
write protection on path, write-ref permission on depot or repo |
|
|
The |
|
|
This command doesn’t operate on specific files. Permission is
granted to run the command if the user has the specified access
to at least one file in any depot. super for |
|
|
The |
|
describe (graph)
|
list
|
|
|
or list to use the -As option |
|
diff (graph)
|
||
|
or list to use the -As option |
|
diff2 (graph)
|
list protection, read permission |
|
|
||
dirs (graph)
|
||
|
||
|
||
edit (graph)
|
||
|
||
extension
|
super
|
The super user can delegate some permissions to admins and users. |
failback
|
super
|
|
failover
|
super
|
|
|
||
|
||
filelog (graph)
|
list protection, read permission |
|
|
||
files (graph)
|
list protection, read permission |
|
|
||
|
This command doesn’t operate on specific files. Permission is granted to run the command if the user has the specified access to at least one file in any depot. |
|
|
||
|
||
fstat (graph)
|
||
grant-permission (graph)
|
super
|
super from p4 protect applies to all repos and graph depots
a user assigned to be |
graph gc (graph)
|
super
|
|
graph lfs-lock (graph)
|
||
graph lfs-locks (graph)
|
||
graph lfs-unlock (graph)
|
||
graph log (graph)
|
read though p4 grant-permission |
|
graph purge-refhist (graph)
|
Either repo admin , based on p4 grant-permission , or the owner of the repo. |
|
graph rebase (graph)
|
list protection, force-push permission |
|
graph recompute-refcnts (graph)
|
super
|
|
graph show-ref (graph)
|
super
|
|
graph tag (graph)
|
read to see the tag,
write-ref to overwrite the tag,
delete-ref to delete the tag, create-ref to create a tag |
|
graph tags (graph)
|
read on the repos with tags |
|
graph verify (graph)
|
list
|
|
|
||
|
The The The |
|
|
This command doesn’t operate on specific files. Permission is granted to run the command if the user has the specified access to at least one file in any depot. |
|
|
list protection, read permission |
|
have (graph)
|
||
heartbeat
|
operator
|
or super |
|
||
help-graph (graph)
|
list
|
|
|
||
|
||
|
||
|
The user must have |
|
|
||
|
||
|
||
|
The The |
|
|
This command doesn’t operate on specific files. Permission is granted to run the command if the user has the specified access to at least one file in any depot. |
|
|
The |
|
|
||
|
||
super |
||
|
list access to at least one file in any depot is
required to view an existing key’s value; |
|
|
admin access is required if the
|
|
|
This command doesn’t operate on specific files. Permission is granted to run the command if the user has the specified access to at least one file in any depot. The |
|
|
This command doesn’t operate on specific files. Permission is granted to run the command if the user has the specified access to at least one file in any depot. |
|
|
||
|
||
|
||
|
||
|
The |
|
|
||
|
||
lock (graph)
|
list protection, read permission |
|
|
||
|
||
|
||
|
||
login2
|
list
|
|
|
super to use -a username |
|
|
||
|
||
|
||
|
||
|
||
|
||
merge (graph)
|
||
|
super access is required to terminate or clear processes, or to view arguments. |
|
read or write |
read for |
|
|
||
|
||
opened (graph)
|
read protection, read permission |
|
|
||
|
||
|
||
|
||
print (graph)
|
list protection, read permission |
|
|
list to read, |
|
|
||
|
super access is required to use the
|
|
|
Must be connected to a Helix Proxy. |
|
|
For stream owner. |
|
pubkey (graph)
|
super
|
super to update or delete someone else's pubkey, list to add, update or delete your own |
pubkeys (graph)
|
list
|
|
|
||
read or write |
read on the local server or |
|
|
||
reconcile (graph)
|
|
|
|
admin access is required to use |
|
open or |
open or |
|
|
||
read or write |
read for |
|
|
||
|
||
|
||
repo (graph)
|
|
|
repos (graph)
|
read on this repo through p4 grant-permission (graph) |
|
reshelve
|
open
|
|
|
||
resolve (graph)
|
||
|
||
|
||
write or admin |
write or |
|
|
||
revert (graph)
|
list
|
|
|
This command doesn’t operate on specific files. Permission is granted to run the command if the user has the specified access to at least one file in any depot. |
|
|
This command doesn’t operate on specific files. Permission is granted to run the command if the user has the specified access to at least one file in any depot. |
|
revoke-permission (graph)
|
||
|
||
|
super access is required to set the server ID. |
|
|
||
|
||
|
admin access is required to forcibly delete shelved files with p4 shelve -f -d |
|
show-permission (graph)
|
||
show-permissions (graph)
|
||
show-ref (graph)
|
super
|
|
|
||
|
||
storage
|
admin
|
super to use the -U option |
|
admin access is required to use the |
|
streamlog
|
open
|
|
|
||
streamspec
|
admin
|
|
|
||
submit (graph)
|
write
|
write protection on path to submit |
open or |
open to use the |
|
switch (graph)
|
||
|
||
sync (graph)
|
||
|
||
|
||
topology
|
super
|
|
|
||
|
||
|
The |
|
undo
|
open
|
|
|
admin access is required to use |
|
|
The |
|
unlock (graph)
|
|
|
|
||
|
||
|
||
|
||
upgrades
|
super
|
|
|
This command doesn’t operate on specific files. Permission is granted to run the command if the user has the specified access to at least one file in any depot. The |
|
|
This command doesn’t operate on specific files. Permission is granted to run the command if the user has the specified access to at least one file in any depot. If the |
|
|
||
|
This command doesn’t operate on specific files. Permission is granted to run the command if the user has the specified access to at least one file in any depot. |
|
|
||
|
||
|