[xwiki-notifications] [xwiki/xwiki-platform] 8a6b65: XWIKI-21478: Improve rights check of template macros