Set permissions on queries
As with most objects in TFS, you can control who is allowed to create or edit shared queries. By default, only members of the Project Administrator’s group can create or edit a shared query. All users can create and edit their own queries their own queries and save them to their My Queries folder.
By creating folders under Shared Queries, you can grant permissions to users for each folder. For example, if you have several teams contributing to a team project, then you might want to create a folder under Shared Queries for each team to manage their own set of shared queries.
If you’re not a member of the project administrators group, get added.
Create a folder.
Open permissions for the folder you just created.
Change the permissions so that the team member or group can contribute and manage permissions for the folder.
Use the Add menu to add a user identity or TFS group.
Contribute allows team members to create and edit queries and folders under the folder where the permissions were granted. And, Manage Permissions allows team members to manage the permission settings on queries and subfolders.
A: When query results contain a work item that you do not have required permissions to view, the cells of that work item are blank, except that the work item ID appears, and the title cell indicates <<no access>>.
When you sort a work item list that contains no-access rows, those rows sort as if their cells were blank. For example, if you sort by State, each no-access row appears at the top of the list. This rule applies to the Title field also. If you sorted by Title, no-access rows appear at the top of the list even though the title appears as <<no access>>. The exception to this rule is that if you sort by work item ID no-access rows appear in the expected sequence.