Can I have a space that users can add pages to, but not view?
Asked by Paul LaBarbera:

This may seem strange, but here's what I'm trying. My HR team wants a way for users to submit Employee Recognition forms on Confluence. We require the ability to complete a form and submit it to HR, and for the completed form to be hidden from all users except HR and management.

My idea is this. Steps 1 and 2 work fine. Step 3 is the one I can't figure out:

1. The form we need is created as a page template in the HR space.

2. All users have access to the HR space. On the HR landing page, there's a Create from Template macro that allows users to create a recognition form, and that places the form into a different space, let's call it Employee Recognition Submissions. This space can ONLY be viewed by HR and upper management.

3. I go to this Employee Recognition Submissions space and set permissions for all users to ADD pages, but not VIEW pages. This allows them to use the Create from Template macro to add pages in the space, but not view anything in the space.

Does anyone know a way around this? The HR manager is adamant that she doesn't want this done through email and I'm banging my head against the wall right now.


Answers:
author: Don Willis
body: No, sorry, I'm pretty sure you cannot do this in Confluence without using an add-on specifically for this sort of thing.

You could instruct your users to restrict their feedback forms to themselves and HR and then have HR (or a bot) remove their restrictions periodically. There will be a risk that they'll forget though.

I actually think JIRA would be a better tool for this if you have it. You can use "reporter and hr" type permissions scheme on your project, like Atlassian do for support with "reporters and developers", and then have HR (or a bot) change the permissions to "hr" once the user is done.


author: Andre Lehmann
body: Hi Paul,

yes I tried that in our Confluence just now:

Yust restrict the view-permission to that page and on an other page (where they can view) use the add-page Macro with template.

{add-page:linkText=LINK-TEXT\|name=INITIAL_TITLE\|parent=PAGE_NAME\|source=server}

The generated URL should look like this:

URL/pages/createpage-entervariables-labeled.action?title=INITIAL_TITLE\&templateName=TEMPLATE_NAME\&templateId=TEMPLATE_ID\&linkCreation=\&spaceKey=SPACE_KEY\&newSpaceKey=SPACE_KEY\&fromPageId=PARENT_PAGE_ID\&parentPageString=PARENT_PAGE_NAME

Kind regards  
Andr?

comments: author: Paul LaBarbera
body: I'm unable to restrict the view-permission without also restricting the add-permission. How can I allow users to add pages to a space they cannot view?


author: Andre Lehmann
body: They will have View and Add permission in that space. but you can build a page hierarchy like:

- HOME =\> Here the add-page macro with parent=Subpage  
--Subpage =\> this page is view-restricted


author: Paul LaBarbera
body: But view restrictions affect all child pages. If Subpage is the parent of the Home page... the view-restrictions on Subpage will trickle down to the "Home" page.

I can't tell the Create from Template macro to create pages under a different page, only a different space.

I really appreciate the help. I'm having trouble with this scenario.


author: Ale? La?ar
body: Hi Paul,

You can try surveys maybe? We are using it. You can create survey, on some page you can insert it. Users fill it all and send it. On any other page, you can insert macro for viewing results and this page can be locked by default atlassian tool :) Plugin for Survey <https://marketplace.atlassian.com/plugins/com.adaptavist.confluence.survey>

Your option could be problem. But you can insert a macro to your template for hidden content and set it like that only group of HR can view it. Macro is here [](https://docs.servicerocket.com/display/VIS/hide-if)<https://docs.servicerocket.com/display/VIS/hide-if>

I hope that it will help you :)

Cheers,

Ale?

comments: author: Paul LaBarbera
body: Thanks for the suggestion. We're on Confluence 5.5.2, and survey doesn't support 5.5x yet.


author: Ale? La?ar
body: I upgraded our Confluence two days ago :) To 5.5.2 and we are using Survey and it is ok ;)


Tags: confluence-administration