Skip to content

Commit 2f1fbf5

Browse files
authored
Updated Feature name to "Limit user visibility for projects" (#2752)
* Updated Feature name to "Limit user visibility for projects" AB#1811794: Limit user visibility for projects * commit space change * further updates to preview features. * reformat * small commit * added first note on people-picker limits AB#1805652: [Identity] Restrict results for identity picker/identity API based on org level restricted group membership [1778446] * Clarifying the limitations on Identity selectors. #AB1811795: About projects AB#1805652: [Identity] Restrict results for identity picker/identity API based on org level restricted group membership [1778446] * refresh build * additional updates AB#1805652, AB#1811795 * fixed broken links * refinements * fixed build warnings * Acrolinx fixes * replaced identity selector with people picker * publish * force build * fix build problems
1 parent 1d95e9c commit 2f1fbf5

35 files changed

+293
-114
lines changed

docs/boards/configure-customize.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ ms.date: 08/18/2020
1313

1414

1515

16-
# Configure and customize Azure Boards
16+
# Configure and customize Azure Boards
1717

1818
[!INCLUDE [temp](includes/version-vsts-only.md)]
1919

docs/boards/queries/add-tags-to-work-items.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,7 @@ Requires TFS 2015.1 or later version.
226226
## Chart work items and group by tags
227227

228228
> [!NOTE]
229-
> You can't group a query-based chart by tags, however, you can group a **Chart for Work Items** widget by tags that you add to a dashboard.
229+
> You can't group a query-based chart by tags, however, you can group a **Chart for Work Items** widget by tags that you add to a dashboard. This feature is in public preview. To enable it, see [Manage or enable features](../../project/navigation/preview-features.md) and turn on **Enable group by tags for work item chart widget on dashboard**.
230230
231231
To group a **Chart for Work Items** widget by tags, perform the same steps provided in [Track progress with status and trend query-based charts, Add a chart widget to a dashboard](../../report/dashboards/charts.md#add-chart-widget). Make sure that your flat-list query contains **Tags** in the query clause or as a column option. Then, choose **Tags** for the **Group by** selection. To filter the chart to show only some tags, choose the **Selected tags** radio button and then choose the tags you want the chart to display.
232232

docs/boards/queries/query-by-workflow-changes.md

+18-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ ms.author: kaelli
99
author: KathrynEE
1010
ms.topic: sample
1111
monikerRange: '>= tfs-2013'
12-
ms.date: 03/10/2020
12+
ms.date: 02/17/2021
1313
---
1414

1515
# Query by assignment or workflow changes
@@ -781,6 +781,23 @@ You can use the following fields to filter your queries or build reports. Some o
781781

782782
3. Indexed field. Enabling indexing for a field may increase the performance of finding work items whose queries specify that field. For on-premises server, use the [**witadmin indexfield** command](../../reference/witadmin/manage-work-item-fields.md) to change the index attribute for a field.
783783

784+
::: moniker-end
785+
786+
787+
### people picker
788+
789+
The **Assigned To** field is supported by the people picker feature. For example, when you choose the **Assigned To** field from within a work item form, the people picker is activated. As shown in the following image, you simply start typing the name of the user you want to select, and search until you find a match. Users that you've previously selected appear in the list automatically. To select users that you haven't selected previously, simply enter their entire name or search against the full directory.
790+
791+
> [!div class="mx-imgBorder"]
792+
> ![Screenshot of people picker](../../notifications/media/at-mention/identity-selector.png)
793+
794+
For organizations that manage their users and groups using Azure Active Directory (Azure AD) or Active Directory, people pickers provide support for searching all users and groups added to the AD, not just those added to the project.
795+
796+
::: moniker range="azure-devops"
797+
798+
To limit the scope of identities available for selection to just those users added to the project, you can do so using the **Project-Scoped Users** group. To learn how, see [Manage your project, Limit identity search and selection](../../user-guide/project-admin-tutorial.md#limit-identity-selection).
799+
800+
784801
::: moniker-end
785802

786803
::: moniker range=">= tfs-2015"

docs/notifications/at-mentions.md

+61-14
Original file line numberDiff line numberDiff line change
@@ -10,16 +10,28 @@ ms.author: chcomley
1010
author: chcomley
1111
ms.topic: conceptual
1212
monikerRange: '>= tfs-2015'
13-
ms.date: 02/08/2021
14-
---
13+
ms.date: 02/17/2021
14+
---
1515

1616
# Use @mentions in work items and pull requests
1717

1818
[!INCLUDE [temp](../includes/version-ts-tfs-2015-2016.md)]
1919

20-
The <strong>@mention</strong> control allows you to quickly add a user to a work item or pull request discussion. You can select a project member from the search list, so they're notified of your comment.
20+
The **@mention** control allows you to quickly add a user or group to a work item or pull request discussion. Using the people picker of the **@mention** control, you can select a project member or group from the search list, and they'll receive an email notifying them of your comment.
21+
22+
::: moniker range="azure-devops"
23+
24+
For organizations that manage their users and groups using Azure Active Directory (Azure AD), people pickers provide support for searching all users and groups added to Azure AD, not just those users and groups added to your project. To limit the set to project members and groups, see [Manage your project, Limit identity search and selection](../user-guide/project-admin-tutorial.md#limit-identity-selection).
25+
26+
::: moniker-end
27+
28+
::: moniker range="< azure-devops"
29+
30+
For organizations that manage their users and groups using Active Directory, people pickers provide support for searching all users and groups added to the Azure AD, not just those users and groups added to your project.
31+
32+
::: moniker-end
2133

22-
Use the <strong>@mention</strong> control to start or continue a discussion within the following areas:
34+
Use the **@mention** control to start or continue a discussion within the following areas:
2335

2436
::: moniker range=">= azure-devops-2020"
2537

@@ -54,40 +66,75 @@ Use the <strong>@mention</strong> control to start or continue a discussion with
5466

5567
::: moniker-end
5668

57-
When you leave a code comment in a pull request, enter **\@** to trigger the **\@mention** identity picker. From the identity selector, you see a list of users you've recently mentioned. Choose a name or enter the name of the user you're looking for to do a directory search.
69+
## Identity search selection
70+
71+
When you leave a code comment in a pull request, enter **\@** to trigger the **\@mention** people picker. From the people picker, you see a list of users you've recently mentioned. Choose a name or enter the name of the user you're looking for to do a directory search.
5872

5973
> [!WARNING]
60-
> If you have permission to invite users to the organization, regardless of whether the "Restrict invitations" policy is disabled, you can @mention a user who isn't part of your organization. This action invites that user to your organization.
74+
> If you have permission to invite users to the organization, regardless of whether the **Restrict invitations** policy is disabled, you can **@mention** a user who isn't part of your organization. This action invites that user to your organization. To learn more, see [Restrict new user invitations from project and team administrators](../organizations/security/restrict-invitations.md).
6175

6276
To filter the list, enter the user name or alias until you've found a match.
63-
64-
![Web portal, Pull Request, Type a user name or email alias to locate a match](media/at-mention-pr-type-name.png)
77+
78+
> [!div class="mx-imgBorder"]
79+
> ![Screenshot of people picker](media/at-mention/identity-selector.png)
6580

6681
::: moniker range=">= azure-devops-2020"
6782

6883
You can also use group mentions. Enter the name of a team or a security group, choose :::image type="icon" source="../media/icons/search-icon.png" border="false"::: **Search**, and then select from the options listed.
6984

70-
> [!NOTE]
71-
> For feature availability, check the [Feature Timeline](/azure/devops/release-notes/features-timeline).
72-
7385
::: moniker-end
7486

7587
To **\@mention** a user you've never selected previously, just continue to enter the entire name to do your search against the full directory.
7688

7789
Names of mentioned users appear in blue text. Choose the **\@mention link name** to open the user's contact information. The contact information provides more context for why they were added to the conversation.
7890

91+
::: moniker range=">= azure-devops-2019"
92+
> [!div class="mx-imgBorder"]
93+
> ![Screenshot of discussion section with at mention made.](media/at-mention/at-mention-discussion.png)
94+
::: moniker-end
95+
96+
::: moniker range="< azure-devops-2019"
7997
![Web portal, At mention user contact information accessible](media/at-mention-link-to-user-contact-card.png)
98+
::: moniker-end
8099

81-
Upon completion of your selection and text entry, your <strong>@mention</strong> user receives an email alerting them about the mention.
82100

101+
> [!NOTE]
102+
> Don't copy/paste **\@mention** users from a previous comment. While the resulting formatting looks identical to a properly entered mention, it doesn't register as a true mention nor send an email notification.
103+
104+
105+
Upon completion of your selection and text entry, your **@mention** user receives an email alerting them about the mention.
106+
107+
::: moniker range=">= azure-devops-2019"
108+
> [!div class="mx-imgBorder"]
109+
> ![Screenshot of Email sent in Outlook.](media/at-mention/at-mention-work-item.png)
110+
::: moniker-end
111+
112+
::: moniker range="< azure-devops-2019"
83113
![Email sent to at-mention user organization](media/mail-to-at-mention-user.png)
114+
::: moniker-end
115+
84116

85117
Use the **\@mention** control in pull request discussions, commit comments, changeset comments, and shelveset comments.
86118

87-
> [!NOTE]
88-
> Don't copy/paste **\@mention** users from a previous comment. While the resulting formatting looks identical to a properly entered mention, it doesn't register as a true mention nor send an email notification.
89119

90120

121+
::: moniker range="azure-devops"
122+
123+
## Limited identities in search selection
124+
125+
In general, people pickers search and select any user or group added to an organization's Azure Active Directory (Azure AD).
126+
127+
For organizations that manage their users and groups using Azure Active Directory (Azure AD), people pickers provide support for searching users and groups added to the Azure AD. For organizations that want to limit the search and selection to just those users and groups added to a specific project, they can do so by enabling the **Limit user visibility for projects** preview feature for their organization.
128+
129+
When the **Limit user visibility for projects** preview feature is enabled for an organization, the list of identities you can select from a people picker is limited in one of the following ways:
130+
131+
- Users added to the **Project-Scoped Users** group are only able to select from an identity list that contains users and groups added explicitly to the project they're connected to.
132+
- If all project members are added to the **Project-Scoped Users** group, then people pickers are limited to only those users and groups added to the project. All project members are only able to select identities that match users and groups added explicitly to the project they're connected to.
133+
134+
To learn how, see [Manage your project, Limit identity search and selection](../user-guide/project-admin-tutorial.md#limit-identity-selection).
135+
136+
::: moniker-end
137+
91138

92139
## Related articles
93140

Loading
Loading
Loading

docs/organizations/accounts/add-organization-users.md

+17-8
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ ms.technology: devops-accounts
88
ms.assetid: 19ac647f-04c1-4ddd-9953-b3ecfa0f1457
99
ms.author: chcomley
1010
author: chcomley
11-
ms.date: 01/21/2021
1211
monikerRange: '>= azure-devops-2019'
12+
ms.date: 02/17/2021
1313
---
1414

1515
# Add users and manage access in Azure DevOps
@@ -368,21 +368,30 @@ ID Display Name Email
368368

369369
## Restrict users' view to organization projects
370370

371-
If the **Project-Scoped Users well-known group to hide settings** preview feature is enabled for the organization, users added to the **Project-scoped Users** group won't be able to access projects that they haven't been added to. To learn more, see [About projects and scaling your organization, Project-scoped User group](../../organizations/projects/about-projects.md#project-scoped-user-group).
371+
To limit select users access to organizational information, enable the **Limit user visibility for projects** preview feature and add the users to the **Project-Scoped Users** group. Once added, users in that group won't be able to access projects that they haven't been added to.
372372

373-
Complete the following steps to add users to the new Project-scoped user group:
373+
> [!NOTE]
374+
> Users and groups added to the **Project-Scoped Users** group have limited access to project and organization information as well as limited access to select identities through the people picker. To learn more, see [About projects and scaling your organization, Limit user visibility for projects using the Project-Scoped Users group](../../organizations/projects/about-projects.md#project-scoped-user-group).
375+
376+
Complete the following steps to add users to the new **Project-Scoped Users** group:
374377

375378
1. Sign in to your organization (```https://dev.azure.com/{yourorganization}```).
376379

377-
2. Select ![gear icon](../../media/icons/gear-icon.png) **Organization settings**.
380+
1. Enable the **Limit user visibility for projects** preview feature for the organization. To learn how, see [Manage or enable features](../../project/navigation/preview-features.md#account-level).
381+
382+
> [!TIP]
383+
> The **Project-Scoped Users** group only appears under the **Permissions>Groups** once **Limit user visibility for projects** preview feature is enabled.
384+
385+
2. Add users or groups to your project(s) as described in [Add users to a project or team](../security/add-users-team-project.md). Users added to a team are automatically added to the project and team group.
386+
387+
2. Open **Organizations Settings**, choose ![gear icon](../../media/icons/gear-icon.png) **Organization settings**.
378388

379389
![Open Organization settings](../../media/settings/open-admin-settings-vert.png)
380390

381-
3. Select **Permissions** > **Users**.
382-
4. Select the user name for restricting views into projects.
383-
5. See the **Project-Scoped Users well-known group to hide settings** dropdown menu, and then set to **Allow**.
391+
3. Open **Security>Permissions** and choose **Project-Scoped Users**. Choose the **Members** tab. Add all users and groups that you want to scope to the project(s) you've added them to.
392+
393+
To learn more, see [Set permissions at the project- or collection-level](../security/set-project-collection-level-permissions.md).
384394

385-
6. **Save** your changes.
386395

387396
::: moniker-end
388397

docs/organizations/accounts/toc.yml

+2
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@
1818
href: change-organization-ownership.md
1919
- name: Manage your organization
2020
items:
21+
- name: Manage preview features
22+
href: ../../project/navigation/preview-features.md?toc=/azure/devops/organizations/toc.json&bc=/azure/devops/organizations/breadcrumb/toc.json
2123
- name: Rename organization
2224
href: rename-organization.md
2325
- name: Delete organization

docs/organizations/audit/azure-devops-auditing.md

+3-8
Original file line numberDiff line numberDiff line change
@@ -37,16 +37,11 @@ By default, Project Collection Administrators are the only group that have full
3737

3838
### Audit permissions
3939

40-
**Project Collection Administrators group**
41-
42-
Members of the Project Collection Administrators group have full access to all auditing features.
43-
44-
**Project Collection Valid Users group**
45-
46-
Members of the Project Collection Valid Users group can view the Auditing page and export audit logs.
40+
- Members of the **Project Collection Administrators** group have full access to all auditing features.
41+
- Members of the **Project Collection Valid Users** group can view the Auditing page and export audit logs.
4742

4843
> [!NOTE]
49-
> If the **Project-Scoped Users well known group to hide settings** preview feature is enabled for the organization, users added to the **Project-scoped Users** group won't be able to access projects that they haven't been added to. To learn more, see [About projects and scaling your organization, Project-scoped User group](../../organizations/projects/about-projects.md#project-scoped-user-group).
44+
> If the **Limit user visibility for projects** preview feature is enabled for the organization, users added to the **Project-Scoped Users** group can't view **Auditing** and have limited visibility to **Organization Setting** pages. To learn more, see [About projects and scaling your organization, Project-scoped Users group](../../organizations/projects/about-projects.md#project-scoped-user-group).
5045
5146
## Access auditing
5247

0 commit comments

Comments
 (0)