How to edit permissions in the Bamboo database?

This question is in reference to Atlassian Documentation: Permissions for deployment environments

How to edit permissions in the Bamboo database?

We have a lot of projects, with a lot of builds and a lot of deployments. Now I want to remove the visibility for "logged in users" on all of those, preferably with a query on the database or else I have to go click through all of them in the UI which will probably take me half a day... 

EDIT:

I found "Bulk edit plan permissions" for plans in the Bamboo administration. So now I still need some way to bulk edit Deployment permissions.

EDIT:

I ran the following query to remove all permissions for "Anonymous" and "Logged in users":

DELETE FROM ACL_ENTRY WHERE TYPE = 'GRANTED_AUTHORITY'
    AND SID IN('ROLE_USER', 'ROLE_ANONYMOUS');

No when I check a Deployment plan, then I see that the checkboxes are now unchecked. But when I log in with a test users with absolutely no permissions, I still see all the plans. I guess there's some cache or indexing still hanging somewhere?

1 answer

There is an option "bulk edit plan permissions" to set permissions on multiple or all projects. Would this be helpfull?

Unfortunately it does not cover deployment plans ;-(

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Renan Battaglin
Published May 18, 2017 in Bamboo

FAQ: How to Upgrade Bamboo Server

Bamboo 5.9 will no longer be supported after June 12, 2017. What does this mean? As part of our End of Life policy, Atlassian supports major versions for two years after the first major iteratio...

1,321 views 0 5
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you