Restrict all pages in a space in Confluence but two

Hello,

I have the following problem. I have more than 100 articles in a space in Confluence. I would like to hide all the pages from specific user but two. How can I do that?

I have tried restricting the home page of the space and went to the two child pages and allowed view access to the specific user but without any success.

Any assistance will be highly appreciated! 

Thanks in advance. 

3 answers

2 votes

Unfortunately, it works the other way. Everything is visible until you restrict them.

So, you have to give permission to the user in the space and then restrict all the pages, except the two! You might as well look at options of refactoring those 2 pages in to a different space!

It makes no sense to set View Restrictions on the home page.  Everyone you grant access to the Space should be able to see the Home page.  If you set Page View Restriction son the Home page then only the included people can see anything in the Space. If you don't want them to see the Home page, don't grant them access!!

However it might make some sense in some cases to set a Page Edit Restriction on the Home page - noting that Creating a Child page, or moving it, is an edit of the Home page so only the allowed Editors can change the top level page structure

But if you have a subset of the Users with access to the Space that need a bunch of certain pages which ONLY they can see - say a special sub-committee, then create a page which you might call something like "Sub-committee - Restricted Access" and set the Page View Restrictions to ONLY the sub-committee people by name or by Permissions group, i..e to give ONLY the two people ability to see these pages put their names in the Page View Restriction list .  Then all its Child pages will automatically inherit the same Page View Restriction, thereby preventing the unwanted people seeing any of those Sub-committee pages

 

0 votes
Davin Studer Community Champion Jan 23, 2017

The best method would be to create a group that has access to see ALL the pages and another that can only see the two pages. You grant at the space level view access to both groups. Then under the space home page you create a parent page that will house all the content except the two pages. Those will either live under the space home page or their own parent page ... your choice. The for the content that should not be visible to everyone you put a view restriction on the parent page for the group that is allowed to see everything. This will restrict the parent page and it's descendants such that only the view all group can see them. Don't do anything with the other group. That group is simply there to allow the specif user you are referring to access to the space. Visually it will look like this.

Space Home Page
|
| - Parent page to restricted content <--- view restriction on this page
|   | - Restricted page 1
|   | - Restricted page 2
|
| - Non restricted page 1
| - Non restricted page 2

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Oct 24, 2018 in Confluence

Atlassian Research opportunity with Confluence templates

Do you use templates with Confluence? Take part in a remote 1-hr workshop. You'll receive USD $100 for your time!   We're looking for people to participate in a   remote 1-hr workshop...

1,085 views 17 14
Join discussion

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