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