See https://forum.xwiki.org/t/add-concept-of-required-permissions-for-macros/9904 Example: If the user doesn't have PR, don't show the Groovy and other script macros that require PR. This should be done by adding macro metadata indicating the minimum rights required. |