Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Page access restriction based on values of blueprint

ebrahim rezaian August 22, 2021

Hello guys

 

I just created a template with blueprint. the firs values that it takes from you is a group (multi user) field.

all pages created by this template will be store in one space.

 

I want to set restriction (view/edit) on this pages based on the value of group field. then only the users specified in the group field can view/edit the page.

1 answer

0 votes
Nic Brough -Adaptavist-
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
August 22, 2021

Confluence restrictions are set by editing the actual restriction, they don't take their values from page content.

So you'd need to code or script something that could scan the page as it is created and apply the restrictions.

ebrahim rezaian August 22, 2021

Can you suggest a tool for this?

Nic Brough -Adaptavist-
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
August 22, 2021

I'd usually reach for Scriptrunner (I would though, as I work for Adaptavist).  https://library.adaptavist.com/entity/automate-the-creation-of-complex-page-structures-within-confluence is a server script that does a load of stuff.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events