Restricting Pipeline Deployments by User and Branch in a Shared Dev Instance
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-29-2025 01:51 AM - edited 04-29-2025 01:53 AM
Hello Community,
I’m looking to set up a deployment pipeline with branch-level access controls based on user roles. Specifically:
User A should only be able to deploy to the AK branch.
User B should only be able to deploy to the BA branch.
Admin users should have access to deploy to all branches.
We have only one shared Dev instance. Is it possible to enforce such branch-user deployment restrictions within a single pipeline or DevOps tool (e.g., GitHub Actions, GitLab CI/CD, Azure DevOps, etc.)?
Any guidance or best practices for implementing this securely would be greatly appreciated.
Thanks,
Prasad N