Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Restricting Pipeline Deployments by User and Branch in a Shared Dev Instance

daiva
Tera Guru

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.)?

 

daiva_0-1745916633945.jpeg

 

Any guidance or best practices for implementing this securely would be greatly appreciated.

Thanks,
Prasad N



0 REPLIES 0