Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Confluence - Scriptrunner: How could I automatically remove restrictions of multiple pages? Edited

Hi,

I want to determine who can view and / or edit individual pages with a specific string included in their content.

The script I would like to use is to remove all users except the page creator so that only the page creator can view and edit this page.


for example:

I want to restrict all pages that contain the "Hello" string in the content.
I'm running a script that relies on a specific string.

Once I run the script all viewing permissions from these pages will be removed except the page creator.

 

Continuing with the question,

Let’s say the page creators edit the page and remove the “Hello” string, after I run my script again, these pages will no longer be restricted. (Like a rollback).

Is there a way to do that?

Any reply will be welcomed!

Thanks

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Trello

🏊‍♀️ Atlympic Event: Trello

Hello Community!  Quick disclaimer: We are running a contest on Community (The Atlympics!) from July 23rd - August 8th of 2021. If you are interested in participating in this contest (prizes! ...

87 views 0 8
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you