Forums

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

How to set the permission to children page based on parent page id

Rauzan Fikri May 9, 2023

Hi @Alex Medved _ConfiForms_ 

 

Any solution or function that I can use for set the permission of page (view or edit) on evert the children of page based on parent page id?

Example tree:

Page A (I know the page id)
---Page Child 1

---Page Child 2

---Page Child 3

 

 Page Child 1, 2, and 3 is the children page of page A that I want to set the permission from confiform but the page id that I know is only the parent ID or id of Page A.

 

Thanks

 

2 answers

1 accepted

0 votes
Answer accepted
Alex Medved _ConfiForms_
Community Champion
May 10, 2023

View permissions are inherited from a parent, while edit permissions are not (Atlassian decision)

So, restricting view permissions on the parent should also restrict the view permissions on the child pages.

With edit permissions you have to restrict each page individually

Alex

Rauzan Fikri May 10, 2023

Any solution for edit permissions with bulky number?

Alex Medved _ConfiForms_
Community Champion
May 11, 2023

As mentioned before, you need to set permissions individually

Rauzan Fikri May 12, 2023

Okay Alex, now we're do some hacking to made this possible. Thanks for the answers.

0 votes
Rauzan Fikri May 10, 2023

Also we are have trying the iftt function for set permission of page with passing multiple page ID is doesn't want to run.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events