TeamCity
 
You are viewing the documentation for an earlier version of TeamCity.

Role and Permission

Last modified: 20 April 2023

Role is a set of permissions that can be granted to a user in one or all projects. A permission is an authorization granted to TeamCity user to perform particular operations.

Roles are assigned by the administrator on a per-project basis - a user can have different roles in different projects, and hence, the permissions are project-based. A user can have a role in a specific project or in all available projects, or no role at all. Depending on your TeamCity edition, different roles are available. You can associate a user account with a set of roles in the Assign Roles Dialog dialog.

Since TeamCIty 4.5 a role can also be granted to a user group. This means that the role is automatically granted to all the users that are included into the group (both directly or through other groups).

This section describes:

TeamCity Enterprise Edition User Roles



The roles and permissions are described and can be modified in the roles-config.xml file stored in <TeamCity Data Directory>/config directory. When assigning roles, the view role permissions link in the web UI displays a list of permissions for each role in accordance with how they have been manually re-configured.

Since TeamCity 4.5 set of roles and their permissions can be edited in the Administration web UI.

TeamCity Professional Edition User Roles