Skip to content

Commit de99ec8

Browse files
Merge pull request #8040 from MicrosoftDocs/artifacts/443059
Permissions update
2 parents 43004b5 + 7397691 commit de99ec8

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

docs/artifacts/feeds/project-scoped-feeds.md

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ A project-scoped feed is scoped to a project instead of an organization. Here ar
4242
| **Visibility** | Inherits the visibility of the project. | Always private by default. |
4343
| **Links** | The URL includes the project name.<br>Example: `https://pkgs.dev.azure.com/<ORG_NAME>/<PROJECT_NAME>/_packaging/<FEED_NAME>/nuget/v3/index.json` | The URL does not include a project.<br>Example: `https://pkgs.dev.azure.com/<ORG_NAME>/_packaging/<FEED_NAME>/nuget/v3/index.json` |
4444
| **User Interface**| Visible only after navigating to the project that hosts the feed. | Always available from the feeds dropdown menu. |
45-
| **Connection** | To access a feed from a pipeline running in a different project within the same organization, the **Project Collection Build Service** and the project's **Build Service** identity of the project running the pipeline must be granted the **Feed Publisher (Contributor)** role in feed settings. | You only need to assign the **Project Collection Build Service** the **Feed Publisher (Contributor)** role in feed settings. |
45+
| **Connection** | To access a feed from a pipeline running in a different project within the same organization, both the **Project Collection Build Service** and the project's **Build Service** of the project running the pipeline must be granted the appropriate role. | Only the **Project Collection Build Service** needs to be granted the appropriate role. |
4646

4747
> [!NOTE]
4848
> To add a feed from a different organization as an upstream source, the target feed owner must share the target view with **All feeds and people in organizations associated with my Microsoft Entra tenant** by navigating to **Feed Settings** > **Views** > selecting the ellipsis button on the right for the specified view > then selecting **Edit**.
@@ -62,11 +62,15 @@ A: To make specific packages in your feed accessible to all users in your organi
6262
6363
#### Q: How can I access a project-scoped feed in another project from my pipeline?
6464

65-
To allow a pipeline to access a project-scoped feed in a different project, you need to grant the pipeline access to both the project where the feed is scoped and to the feed itself.
65+
To allow a pipeline to access a project-scoped feed in a different project, you need to grant access both at the project level (where the feed is hosted) and the feed level.
6666

67-
- **Project permissions**: navigate to the project hosting the feed, select **Project settings** > **Permissions** and then add your pipeline's *project build service* to the Contributors group or any group that grants contributor access.
67+
- **Project permissions**: Navigate to the project hosting the feed, select **Project settings** > **Permissions** and then add your pipeline's *project build service* to the **Readers** group.
6868

69-
- **Feed permissions**: navigate to the feed you want to access, select **Settings** > **Feed permissions**, and then add your *project build service* as a **Feed and Upstream Reader (Collaborator)**. The *Project build service* identity is formatted as follows: `[Project name] Build Service ([Organization name])` (for example, FabrikamFiber Build Service (codesharing-demo)).
69+
- **Feed permissions**: Navigate to the feed you want to access, select **Settings** > **Feed permissions**, and then add your *project build service* with one of the following roles:
70+
- **Feed and Upstream Reader (Collaborator)**: If you want to view or download packages from the feed, or save packages from upstream sources.
71+
- **Feed Publisher (Contributor)**: If you want to publish, promote, or deprecate packages, in addition to viewing or downloading packages from the feed, or save packages from upstream sources.
72+
73+
The *Project build service* identity is formatted as: `[Project name] Build Service ([Organization name])`. Example: *FabrikamFiber Build Service (codesharing-demo)*.
7074

7175
#### Q: How can I download a pipeline artifact from another project within the same organization?
7276

0 commit comments

Comments
 (0)