Branch: refs/heads/master
Home: https://github.com/xwiki/xwiki-platform
Commit: 08768bd61d6bbd68002d84915abb1c980393bbb1
https://github.com/xwiki/xwiki-platform/commit/08768bd61d6bbd68002d84915abb…
Author: Michael Hamann <michael.hamann(a)xwiki.com>
Date: 2023-11-16 (Thu, 16 Nov 2023)
Changed paths:
M xwiki-platform-core/xwiki-platform-rendering/xwiki-platform-rendering-macros/xwiki-platform-rendering-macro-context/pom.xml
A 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
M xwiki-platform-core/xwiki-platform-rendering/xwiki-platform-rendering-macros/xwiki-platform-rendering-macro-context/src/main/resources/META-INF/components.txt
A 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
Log Message:
-----------
XWIKI-21483: Add a required rights analyzer for the context macro
* Only analyze the content if it isn't restricted.
* Add a unit test.