User can't deploy even though permissions are set
Asked by Jason Smith:

I want my qa team members to be able to manually trigger a deployment to their test site. I have given one of the users deploy permissions to the QA environment. However when he logs in, he cannot see a deployment action for the environment or any in the plan.

What setting am i missing?  
[](https://community.atlassian.com/t5/Bamboo-questions/User-can-t-deploy-even-though-permissions-are-set/qaq-p/322356?attachment-id=2900){#link_1166826a5fe0b0}  
[](/tnckb94959/attachments/tnckb94959/bamboo-questions/10104/1/image2016-11-14%2019%3A33%3A41.png){#display_1166826a5fe0b0_0}  
[](https://community.atlassian.com/t5/Bamboo-questions/User-can-t-deploy-even-though-permissions-are-set/qaq-p/322356?attachment-id=2901){#link_1166826a5fe0b0_0}  
[](/tnckb94959/attachments/tnckb94959/bamboo-questions/10104/2/image2016-11-14%2019%3A36%3A17.png){#display_1166826a5fe0b0_2}  
[](https://community.atlassian.com/t5/Bamboo-questions/User-can-t-deploy-even-though-permissions-are-set/qaq-p/322356?attachment-id=2902){#link_1166826a5fe0b0_1}  
[](/tnckb94959/attachments/tnckb94959/bamboo-questions/10104/3/image2016-11-14%2019%3A37%3A9.png){#display_1166826a5fe0b0_4}  
[](https://community.atlassian.com/t5/Bamboo-questions/User-can-t-deploy-even-though-permissions-are-set/qaq-p/322356?attachment-id=2903){#link_1166826a5fe0b0_2}  
[](/tnckb94959/attachments/tnckb94959/bamboo-questions/10104/4/image2016-11-14%2019%3A35%3A32.png){#display_1166826a5fe0b0_6}  
[](https://community.atlassian.com/t5/Bamboo-questions/User-can-t-deploy-even-though-permissions-are-set/qaq-p/322356?attachment-id=2904){#link_1166826a5fe0b0_3}  
[](/tnckb94959/attachments/tnckb94959/bamboo-questions/10104/5/image2016-11-14%2019%3A37%3A57.png){#display_1166826a5fe0b0_8}


Answers:
author: rsperafico
body: Hello Jason,

Created a group called "**bamboo-deploy** " (*any group name would do*)

Created a user "**deploy** " and added to "**bamboo-deploy**" group

image2016-11-14 15:0:29.png

Create a Deployment / Environment

Granted the following permission

image2016-11-14 15:2:49.png

Logged in to Bamboo with "**deploy**" user

image2016-11-14 15:3:53.png

As you can see, under **Actions** the user "**deploy**" is able to run a deployment

---

Kind regards,  
Rafael P. Sperafico  
[](https://community.atlassian.com/t5/Bamboo-questions/User-can-t-deploy-even-though-permissions-are-set/qaq-p/322356?attachment-id=5450){#link_1166826ffe44ba}  
[](/tnckb94959/attachments/tnckb94959/bamboo-questions/10105/1/image2016-11-14%2015%3A2%3A49.png){#display_1166826ffe44ba_0}  
[](https://community.atlassian.com/t5/Bamboo-questions/User-can-t-deploy-even-though-permissions-are-set/qaq-p/322356?attachment-id=5451){#link_1166826ffe44ba_0}  
[](/tnckb94959/attachments/tnckb94959/bamboo-questions/10105/2/image2016-11-14%2015%3A0%3A29.png){#display_1166826ffe44ba_2}  
[](https://community.atlassian.com/t5/Bamboo-questions/User-can-t-deploy-even-though-permissions-are-set/qaq-p/322356?attachment-id=5452){#link_1166826ffe44ba_1}  
[](/tnckb94959/attachments/tnckb94959/bamboo-questions/10105/3/image2016-11-14%2015%3A3%3A53.png){#display_1166826ffe44ba_4}

comments: author: rsperafico
body: Please, make sure the same user/group you are granting deploy permission to the environment has also permission (*i.e. view*) to the build that will be consumed by this very same environment.


author: Jason Smith
body: Thanks for your reply. This sent me in a direction that got me working.....I am using LDAP sync'd users and i was trying to assign deploy permissions directly to the LDAP user and it was not working. I noticed that in your example above you were using local users/groups. So i created an internal bamboo group and assigned my LDAP synced user to that group, and then assigned deploy permissions to the local group and it started working great.


author: rsperafico
body: Hello Jason,

image2016-11-14 19:36:17.png

image2016-11-14 19:35:32.png

image2016-11-14 19:33:41.png

"**user0** " ***must have*** view permission to the Project/Plan consumed by the Dpeloyment

image2016-11-14 19:37:9.png

Logged in as "**user0**"

image2016-11-14 19:37:57.png

---

Kind regards,  
Rafael P. Sperafico