A granular approach to workflow permissions. The ability to have certain workflows be available to certain users. This distinction can be set by admins/owners of the organizational.
Use case / for what or how I would use it
Letās say an organization has workflows A, B and C. A and B are used for development, but C publishes the app to a build distribution system. Developers should only be able to run workflows A and B, but only CI admins/leads/whoever can only run C to actually publish the app in order to reduce the chances for confusion/mistakes in publishing development and not final builds.
Admittedly this isnāt the same though, you couldnāt restrict users from running specific builds or using specific steps, only together or not at all.
After discussing this request we felt that we should mention that there is a workaround to make this possible.
You could separate your workflows to partially run on Bitrise, providing access to the necessary people, and you could run the other workflows by committing to your repository, where you can specify access setting more in depth and trigger the more ārestrictedā workflows directly from there
I hope this is a suitable option for you guys, let us know!
Only owners and admins can access the workflow editor. If you give developer or tester permission to those who you want restricted from there they wonāt see those workflows.
Hey ya! So I know that admins and owners can access the workflow editor, but all workflows show up for all developers in the āStart/Schedule a Buildā menu, no? What I got from your message was that I can restrict that?
Hy @ivan_melnikov!
A solution would be to separate C workflow to a different app with no webhooks registered to it, that only worker.C can manage and start manually.
so that worker.A and worker.B can not trigger a publish, but can trigger test build A or B.
Not the editor, just running workflows. If I create a workflow, all of our developers can run it, and thatās the problem. Even if I split them up, theyāre all there to see and just trigger one that can publish a build.
Any possibility that this feature will be implemented in the near future? You can achieve this by creating a new app, yes, but that is not a long term solution, according to me. Imagine you have 10 apps, each with 3 workflows. If you want to restrict each workflow type to a specific audience, that means that you will end up with 30 apps, instead of 10, which is a bit of a admin nightmare.
Iām really looking forward to using this feature. Btw, Iām loving Bitrise!
Hi @timothy.devilliers! You raise some good points This is definitely planned, but also definitely not a priority at the moment. Make sure to bring more votes to change that!