Can I set default page restrictions for all new pages within a space

I want to have all new pages automatically be restricted. I don't want users to have to set the page to be restricted when they create a new page. I would prefer they have to remove the restriction if they want the page to be visible to others.

8 answers

This widget could not be displayed.

Any progress on that?

This widget could not be displayed.

As we need this feature too, I raised a feature request: https://jira.atlassian.com/browse/CONF-27498

I hope it will be implemented sooner or later...

Feel free to vote for it!

This widget could not be displayed.

We also stand infront of this problem but I believe a simple way is that you use multiple spaces. In one you publish the pages that already have been approved and in the other you prepare the pages until they are approved. In that way you can give internal users access to public and internal information and with help of the space permissions you can easily restrict access.

This widget could not be displayed.

We could really use this as a feature too. It's a bit of hassle to move pages from space to space. We are a small team. Would love to be able to have all new pages have a default permission, then lift it when ready to show the world.

This widget could not be displayed.

Hello,

It's a pretty hackish solution, but you can do it using CUSTOM HTML and play around with javascript. Of course you may have to update this code if you don't use the default theme or if confluence changes it's default layout.

My requirement was to restrict new pages to the author of the page by default and prompt him with the page restrictions dialog so that he's forced to "white list" the page to the relevant groups.

To implement this, I added the following code at the end of the HEAD in the CUSTOM HTML configuration section : 

<script>
$.waitForElement = function (elementID, thresh) {
        var d = $.Deferred(),
            start = +new Date(),
            threshold = thresh || 1000,
            _document = document,
            _setTimeout = setTimeout;
        function pollElement() {
            var element = _document.getElementById(elementID);
            if (checkTime(d)) {
                if (element) {
                    if (!$(element).is(':visible')) {
                        _setTimeout(pollElement, 0);
                    } else {
                        d.resolve(element);
                    }
                } else {
                    _setTimeout(pollElement, 0);
                }
            }
        }
        function checkTime(d) {
            if ( ((+new Date()) - start) > threshold ) {
                d.reject();
                return false;
            } else {
                return true;
            }
        }
        pollElement();
        return d.promise();
    };
 
function restrictToMe(){
    $('#rte-button-restrictions').click();
    $.waitForElement('page-permissions-choose-me',5000).done(function(){
        $('#page-permissions-choose-me').click();
        $.waitForElement('remove-permission-0',5000).done(function(){
            $('#restrictEditRadio').click();   
            $('#page-permissions-choose-me').click();
        });
    });
}
 
$(function(){restrictToMe();});
</script>
This widget could not be displayed.
Bruno Rosa Atlassian Team Oct 19, 2012

Hi, I don't think is possible to make the new pages somehow 'restricted' by default, unless you have restricted the space too (which contains the pages you want to restrict), thus all the pages created will be created respecting the restriction of the father (space).

Hope it helps.

Cheers,

Ok, makes sense, thanks for the response.

I guess I'm looking for the following:

1.) I want to use confluence to create public content.

2.) I want to have content authors have the ability to create and edit pages, but no publish them to be viewable by annonymous users.

3.) After a simple review process I want to be able to make pages viewable to annonymous users individually on a page by page basis.

Is this possible with Confluence?

We need this. Space Permissions are a complex mess.

There should be a simple way to set the "Default" permission for any newly created page in a space.

This widget could not be displayed.

Not having this feature available makes users less likely to use the product for fear of exposing items prematurely. Control of content privacy is a huge issue and continually ignored by tech companies for some reason. 

This widget could not be displayed.

Hi Everyone. 

Is this issue dead? (e.g., https://jira.atlassian.com/browse/CONFSERVER-27498)

My goal is to have open spaces viewable by the standard confluence user in our company. Then, I would like a restricted (closed) team space (e.g., executive team) whereby all created pages within that space are restricted to that team. I want to avoid an executive creating a page within the executive team space that he/she forgets to set to restricted (e.g., salaries) and is therefore accessible to the entire company. 

Thank you,

Justin

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Sep 17, 2018 in Confluence

Why start from scratch? Introducing four new templates for Confluence Cloud

Hi my Community friends!  For those who don't know me, I'm a product marketer on the Confluence Cloud team - nice to meet you! For those of you who do, you know that I've been all up in your Co...

569 views 7 6
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