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