bamboo run but not disable enable build
Asked by Royce Wong:

I am using Bamboo 4.4.5

Is there a way to allow a user access to run a build but not be able to disable/enable a build?

Thanks in advance.


Answers:
author: Przemek Bruski
body: As the support answered, it's not possible at the moment.

The behaviour of BUILD permission is documented here: [https://confluence.atlassian.com/display/BAMBOO/Configuring+a+plan's+permissions](https://confluence.atlassian.com/display/BAMBOO/Configuring+a+plan)

The rationale behind it is that BUILD gives you full control over running (or not running, ever) a build that only has manual triggers set up. BUILD should give the same kind of control over plans running with different triggers, which means that the user has to be able to enable/disable the plan

.


author: Krystian Brazulewicz
body: Mike

You're right, I tested this only on enabled plan (and didn't see the disable nor edit button). I confirm that you're able to enable plan using BUILD permission. I'll verify with my colleagues if this is the correct behavior


author: Royce Wong
body: This is the answer from Atlassian support:

*Unfortunately, the functionality you are requesting is not currently implemented in Bamboo. I would recommend creating a new issue in our development issue tracker for this functionality to ensure our development team is aware of your request:*

*<http://jira.atlassian.com/>*

*For more information on how Atlassian implements new features and improvements please see the following document:*

*<http://confluence.atlassian.com/display/DEV/Implementation+of+New+Features+Policy>*

*My apologies that I do not have a solution for you at this time.*

*Is there anything else I could help you with, today? If not, I would kindly ask you to close this ticket, please.*

*Please, do not hesitate on contacting us at any moment.*   
*---*

*Kind regards,*   
*Rafael P. Sperafico*   
*Atlassian Support*


author: Mike Thomas
body: Thanks Krystian.

The group that the "noedit" user is in only has "Access" enabled under Global Permissions.

To clarify - are you not seeing the "Enable" button on the dashboard? In our case I am seeing it. The user cannot edit the plan (the button is not displayed), but they are able to hit the enable button, and then they can hit the run button that appears in its place.

Royce had also put in a ticket, so we'll see what comes of that.

Thanks ... Mike


author: Krystian Brazulewicz
body: Please also check global permissions on Administration / Global permission page.

I've tested this on Bamboo-4.4.5 and I can see that disabling "Edit" and enabling "Build" permission for a user on the plan will prevent him from any edit actions (including enabling/disabling plan) but he'll be still able to run the plan.

If anything else will fail please contact [Atlassian Support](https://support.atlassian.com/servicedesk/customer/bsp).


author: Mike Thomas
body: (I work with Royce)

Thanks for the response, but that is not working for us.

As myself (an admin):

* Created the "noedit" user and gave it "View" and "Build" permissions on one of our plans (the group that I used for the "noedit" user has no explicit permissions on the plan)
* Disabled the plan
* Logged out of Bamboo

As the noedit user:

* The enable button is visible, I can enable the plan and the "run" button becomes visible

The plan has the following permissions:

* Noedit user: View, Build
* Env Mgrs group: View, Edit, Build, Clone, Admin (the "noedit" user is not in this group)
* Logged in users: View
* Anonymous users: View

The 'Build" permission seems to imply "Enable" (and presumably "Disable" although I didn't try that).

Mike


author: Krystian Brazulewicz
body: Go to the plan configuration / permissions and verify that the user has enabled "Build" permission but disabled "Edit" permission.


Tags: bamboo-administration