Bulk Changing Page Restrictions
Asked by DIBS Drift:

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.


Answers:
author: Stella Schneider -Smateso-
body: 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](https://marketplace.atlassian.com/1229872)".

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

Best regards

Stella


author: Thomas Heylen
body: You can use Scriptrunner to do this: [https://marketplace.atlassian.com/apps/1215215/scriptrunner-for-confluence?hosting=cloud\&tab=overview](https://marketplace.atlassian.com/apps/1215215/scriptrunner-for-confluence?hosting=cloud&tab=overview)

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

comments: author: Steve Letch
body: 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 :(


author: Ally Lancaster
body: 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.


author: Dominic Lagger
body: 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](https://confluence.atlassian.com/confcloud/add-or-remove-page-restrictions-724764891.html#AddorRemovePageRestrictions-Viewallrestrictedpagesinaspace)"

comments: author: DIBS Drift
body: 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


author: Dominic Lagger
body: 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.


author: Rashmi Ratnani
body: Hi Dominic

This solution works well for removing the restrictions in bulk. What about if we want to add restrictions to multiple pages at once? Is that possible?

/RR


Tags: confluence-server

server