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

Adaptavist ScriptRunner Lock Content Macro allow only instead of restrict only

Jonathan Creech February 19, 2019

Hi Atlassian Community,

I am working with the Adaptavist ScriptRunner Lock Content Macro as a solution to a problem where we want to hide certain parts of a page from the being visible to all users. The page still needs to be visible for reporting purposes to larger audience, but internal tasks and notes need to be hidden on the page. 

The Lock Content Macro from ScriptRunner allows you to hide content on a page, but you are required to specify who cannot see the content instead of who can see the content. Is there a way to reverse the logic of the hide option to make the content visible only to certain users?

Example:

Page

  {Lock Content Macro wrapper}

This content is hidden and only visible to users A, B, C.

  {Close Lock Content Macro wrapper}

This content is visible to ALL other users.

More content

Other content

 

 

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events