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

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Bulk Changing Page Restrictions

Is it really not possible to bulk change Page Restrictions (not permissions) for like all pages in a space?

We have a space with a couple hundred pages, all with specific page restrictions to a user which is not here anymore

The user taking over needs to take over these permissions to see and edit the pages but is unable to.

Is there really no other way than clicking through the page restrictions button on every single page and adding the user?, this is unbelievable -the user is even Space Admin but to no avail.

3 answers

You can use Scriptrunner to do this: https://marketplace.atlassian.com/apps/1215215/scriptrunner-for-confluence?hosting=cloud&tab=overview

They have build-in scripts which are easy to use. 

Unfortunately there's big drawbacks with scriptrunners built in scripts. the bulk page restrictions doesn't have any add feature, only remove and replace.

 

So all you can do is turn off restrictions entirely, or set a new list of people who can view. You can;t for example explicitly add your admin group as explicit viewews or editors en-masse.

 

Also, a drawback with the attachment versions script is the number of hits it gets, is determined by the hits you'd get when using quick search, this means you'll only be able to see and remove attachment versions from restricted pages you have explicit view rights to :(

Like Thomas Heylen likes this

I realise that this is a very old post, however; a better way to manage this would be to utilise the user group function in confluence.

For example

  1. Create a user group called 'technical-doc-editor'
  2. Add appropriate users to this group
  3. Within 'Space Tools' go to Permissions then Restricted Pages and update each page so that the group, 'technical-doc-editor' has edit permissions
  4. Now, when someone leaves and a new person joins the team you only have to remove the older user from the group and add the new person in

I realise this is not a solution to your question about how to bulk update Page Restrictions but hopefully it makes managing these pages easier.

0 votes
Dominic Lagger Community Leader Mar 01, 2019

Hi,

If you are a Space Administrator, you can go to the space permissions and see all page restrictions in this space and easily delete these restrictions.

See all information here "Add or Remove Page Restriction"

Yes we know that one

You'll have to press every single one of the pages in the list and then press the page restrictions (padlock) button, and THEN you can add/remove the restrictions

 

With 100'erds of pages in that list it is a quite cumbersome and slow process

 

Thats why i'm asking 

Dominic Lagger Community Leader Mar 01, 2019

As far is I have tested, you do not have to go to the pages. 

In the list of the restricted pages, just click the padlock and the restriction will be deleted. Then you will redirected to the page information of that page. 

Possible solution:

  1. Go to the overview of the page restrictions
  2. Click the padlock on the right site with pressed CTRL Button. 
  3. In a new tab the page information opens
  4. Refresh the the overview of the page restrictions and the restriction should not be there anymore. This will fasten your work. 

I hope this workaround works for you. Let me know if it helps. 

Like # people like this

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Confluence Cloud

🎨 Add some visual life to your templates

Hi Atlassian Community, My name is Avni Barman, and I am a Product Manager on the Confluence Cloud team. Based on feedback from you, we are giving admins more power to create templates that a...

119 views 1 4
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you