Resolution
Identify any other projects or spaces this package is being used in, and grant the user correct permissions against these objects.
Symptom
In your build output, you may see the following error during an attempted package push.
You do not have permission to perform this action. Please contact your Octopus administrator. Missing permission: BuiltInFeedPush
Scope: when this is the right article
If you experience this permissions error, but your user's permissions structure has not changed.
Cause
When you create a user to push packages to Octopus (via the CLI or build server), you grant them the BuiltInFeedPush permission.
A user is required to have the BuiltInFeedPush permission to be allowed to push a package to the Octopus built-in package repository. Further, when multiple projects use a single package, each of these projects must be included within the permission's scope. This is intentional to avoid triggering deployments in projects the user shouldn't be able to.
However, this can understandably cause some confusion. For example, if you create a brand new project, and use an existing package: if you already have another user who has been pushing versions of that package, and their BuiltInFeedPush permission error suddenly surfaces, it may be caused by their existing scopes to projects or project groups not including that new project.
This can also be caused by the same package ID being used in a different space. This is a known bug, and to work around this you would need to be granted permission to the projects that use the same ID in the separate space, or differentiate the IDs from one another to avoid the issue altogether.
Diagnosis and fix
Identify the mismatch in your user's permissions, and ensure they are granted this permission against all projects the package is connected to by expanding permissions or retracting package use.
Verify
The user can push the package to the built-in feed without a permission error.
Related
This is a default permission in the Build Server, Package Publisher and Space Manager built-in user roles.
Issue 10301: User role scoping creates 'Missing permission: BuiltInFeedPush' error when using a build server to push packages to the Octopus Built in Feed
Issue 7361: User with project-scoped BuiltInFeedPush permission can incorrectly fail perm check if same package ID is used in another space