Step 13: Add users and learn about user permissions | Admin
Before end users can work with assets in P4, you must create and configure users. In the following steps, use P4 Admin to create user accounts. Then, learn about the user permissions used to write and work with files in stream depots.
On this page:
Add users to P4 Server
To learn more about adding users, watch this video or review the instructions following the video.
-
To open P4 Admin from P4 Visual Client (P4V), choose Tools > Administration.
-
In P4 Admin, click the Users & Groups tab.
-
Choose File > New > User.
-
In the User dialog box, enter the following information:
Field Description User Username for logging in to the P4 Server. Usernames are case sensitive. Spaces in usernames are not allowed. To learn more about limitations for usernames and other entities, see Limitations on characters in filenames and entities in P4 Visual Client (P4V) Documentation. Email User's email address. Full name User's full name, which is used throughout P4 to identify who is changing files and other actions. Password Temporary password for the user. The user can change their password later in P4V. See Change your password. -
Click OK to add the user.
The user is displayed in the users list.
-
Repeat steps 3 - 5 to add other users.
Learn about user permissions
Permissions are managed in the Permissions table. To open the Permissions table, in P4 Admin, click the Permissions tab.
The default permissions for P4 Server on Windows are:
-
write user * * //... -
super user super * //...
The default permissions for P4 Server on Linux are:
-
write user * * //... -
list user * * -//spec/... -
super user super * //...
The default setup works well for new, small teams because all team members will work on the same project.
-
The
write userline gives all users write access to all depots on the server.
-
The
super userline gives super user access to the administrator you created. Super users can perform advanced tasks, such as creating depots and managing users. Do not remove this line. If you do, you will not be able to administer the server and will need to contact Perforce Support for help.
-
The
list userline hides this depot from all users except the administrator. The spec depot stores client workspace specifications, which can be recovered later by the administrator.
Learn more
Watch these videos to learn more about managing groups and permissions as your team grows.
Read Managing users and groups and Managing permissions in P4 Admin Documentation.
What's next
Next, onboard your team so they can start working with versioned assets in P4.
Go to Step 14: Onboard your team.