XWIKI-22758: Analyze required rights of the context macro's source parameter
* Add support for the source parameter in the context macro's required rights analyzer. * Add translations for the context macro. * Extend the tests of the required rights analyzer. (cherry picked from commit cc74dc80)
Showing
- xwiki-platform-core/xwiki-platform-rendering/xwiki-platform-rendering-macros/xwiki-platform-rendering-macro-context/src/main/java/org/xwiki/rendering/internal/macro/context/ContextMacroRequiredRightsAnalyzer.java 33 additions, 2 deletions...nal/macro/context/ContextMacroRequiredRightsAnalyzer.java
- xwiki-platform-core/xwiki-platform-rendering/xwiki-platform-rendering-macros/xwiki-platform-rendering-macro-context/src/main/resources/ApplicationResources.properties 49 additions, 0 deletions...ontext/src/main/resources/ApplicationResources.properties
- xwiki-platform-core/xwiki-platform-rendering/xwiki-platform-rendering-macros/xwiki-platform-rendering-macro-context/src/test/java/org/xwiki/rendering/internal/macro/context/ContextMacroRequiredRightsAnalyzerTest.java 59 additions, 0 deletions...macro/context/ContextMacroRequiredRightsAnalyzerTest.java
Please register or sign in to comment