First, add existing developers to TFs. The first step is to enable them to have TFs membership. The following describes in detail:
In TFS, these user groups are planned:
- Reader (visitor), no permission to modify
- Project Administrator, with all project management Permissions
- Contributors (participants). You can add, modify, and delete items in a team project.
- Build services, with the permission to execute the project generation operations of the team
- Team Foundation Valid users: the four types of appeal users must first be legal users of the team foudation Server
- Team Foundation administratos, Senior TFs administrator, can manage TFs servers
- Service accounts: the service account of TFS.
In terms of project management, I personally suggest that users do not have to be strictly divided. There are two options:
- All users belong to project administratorsOr contirbutors
- Besides the Project Administrator and project participants, You can have readersUsers, such as some projects, can be viewed by members of other groups, but only have the read permission, which facilitates sharing.
The following describes how to add a user to TFs and assign permissions to the user:
First, determine whether the user to be added is readers, contributors, or project administratos.
1. Assign team members in TFs
The Administrator opens the team resource manager, right-click a team project, for example, tfstest (the following uses the project as the granularity to assign user permissions, to determine the management and access permissions of a user for a project. If you select a server, the new members will have the permission to access all projects under the server ), select "Team Project Settings-> group membership"
Select the group to be allocated to the user. For example, if you select to add a Project Administrator, select the project Administrators Group and double-click it (or click the attribute button ):
In, select "Windows user or group" and click "add:
In, click Advanced:
You can enter the user name, click the search now button, select the user you want to add, and click OK:
Click OK again:
After confirming that the user has been added, click OK to complete the assignment of team members in TFs:
2. Add the TFS project site access permission to the user
Next, we need to add the TFS project site access permission for the user we just added. In the team resource manager, right-click a team project and choose show project portal:
On the Right of the project portal homepage, choose website operations> website settings ":
Select "user and permission-> personnel and group ":
Select "new-> Add User ":
In "User/user group" on the right, enter the user you just added to the TFS group member, for example, Nelson. ho. after entering the information, you can click to check the user name. After the check is successful, you can assign the following permissions to the user (multiple options ):
- Full control. If Project Administrator is added, this option is selected.
- Design. This option is not recommended.
- Participate in the discussion. If it is a project contributor, select this item.
- Read. If you want to add a Reader user, select this option.
After the selection, click OK to complete the add operation.
3. Assign the Reporting Services Permission to the user
To allow users to access various types of report data, they need to assign the new users the permission to access the report Service Management site: http: // Application Layer/reports/pages/folder. aspx: the application layer here refers to the TFS server. Currently, we have two servers in the test environment:
- Tfsuatsvr is a physical machine with the address 192.168.1.15 (we use this as the test environment)
- Hyper-V Virtual Machine downloaded from the official Microsoft website at 192.168.1.16
Tfsuatsvr is installed in the domain environment. Therefore, when a user is added, the domain user is used and the virtual machine is in the workgroup environment. Therefore, when a user is added, first, you need to use Windows user management to add the local user of the virtual machine, and then add the user to TFs.
For example, if you want to assign the Reporting Services Permission to the user in tfsuatsvr, access in IE:
Http: // tfsuatsvr/reports/pages/folder. aspx
If you are accessing the virtual machine environment, you need to access
Http: // 192.168.1.16/reports/pages/folder. aspx
The following uses the domain environment as an example. After accessing http: // tfsuatsvr/reports/pages/folder. aspx, select "attribute" and click "create role assignment ":
In the group or user name field, enter the user name for which you want to assign permissions:
There are five roles:
- Browser. You only need to select this permission for reader.
- Content Manager, content management permission. This permission can be granted to contributor and Project Administrator.
- My reports, same as above. Users with this permission can process reports in their own report folders.
- Publisher: this permission can be granted to the Project Administrator to publish reports to the server.
- Report builder, which can define reports. This permission can be granted to project administrators.
After assigning permissions, click OK to complete permission assignment for the report service.
So far, we have completed adding TFs group members to users, adding Project Website access permissions, and assigning report service access permissions.