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