As part of the Inclusivity Initiative from our company, we are looking into identify the non-inclusive(restricted) words like master, slave etc., in the confluence page and restrict user from using it.
We are evaluating the script runner for Confluence for the same. We are using event listener functionality to achieve it.
We were able to add the comment after we publish if the restricted words are found in the page but It does not block the user from publishing it.
We want to block the user from publishing the page if restricted words are found in the page.
Is there a way to identify this in draft page and block user from publishing the page until restricted words are replaced?