Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,463,053
Community Members
 
Community Events
176
Community Groups

How to update space permissions in bulk?

Hi,

We have new admin group say, "conf-admins" created via Crowd.

We need to add this group to all confluence spaces with all access (admin) .

Any idea how we can do this via ScriptRunner for Confluence?

Thnx.

2 answers

1 accepted

2 votes
Answer accepted

Hi Sowndarya,

I was able to write a script which should accomplish what you need. Please find it at the following link:

https://bitbucket.org/snippets/Adaptavist/6eM7y8/add-group-to-all-spaces-with-administrator

Kind regards,
Tony

Thankyou Tony.

I wrote similar to script to set default permissions to all spaces and added the new admin groups to default permissions on global level.

Hi @Tony Gough [Adaptavist] ,

could you kindly help me with the execution of the script?


When I paste it into the console in SR under Confluence version 7.13.2 (SR 6.39.0), I get a warning.

grafik.png
When I make the suggested change to the script, I get an error message.

grafik.png

Please assist me with the next steps.

 

Kind regards,

Nicolai

@Tony Gough [Adaptavist] is there a script to remove a group from all spaces ?

essentially we are trying to a make the entire site read-only .so we would like to remove the confluence-users group from all spaces and add it back with view permission only .

can you please help ?

Hi there!

If anyone is still searching for a solution on how to manage multiple space and page permissions without scripting in Confluence here it is!

We just released our new app “Permission Management for Confluence”.

So feel free to give it a try and let us now, if you like it or what you need.

Best regards

Stella

Hi Stella,

this is a user community. As an App vendor you'll need to follow special rules, for example

Identify yourself as a partner: Make sure the user is aware you are affiliated with a partner company; for example, by placing the name of your company in your user name in {curly brackets} or -dashes- (note that regular brackets no longer work and have been automatically converted to dashes). If you are mentioning your own products or services, make sure you include wording to make it clear that you are affiliated with the company providing those products or services.


Full article: https://community.atlassian.com/t5/Marketplace-Apps-Integrations/Atlassian-Community-online-guidelines-for-Marketplace-and/ba-p/689723

Kind regards,

Nicolai

Hi Nicolai,

thanks for letting me know! I will do that immediately :)

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events