Branch: refs/heads/master
Home:
https://github.com/xwiki/xwiki-platform
Commit: 16729fe3d472037f818caeae34551fc1c3d5cb66
https://github.com/xwiki/xwiki-platform/commit/16729fe3d472037f818caeae3455…
Author: Michael Hamann <michael.hamann(a)xwiki.com>
Date: 2023-11-13 (Mon, 13 Nov 2023)
Changed paths:
M
xwiki-platform-core/xwiki-platform-security/xwiki-platform-security-requiredrights/pom.xml
M
xwiki-platform-core/xwiki-platform-security/xwiki-platform-security-requiredrights/xwiki-platform-security-requiredrights-default/pom.xml
M
xwiki-platform-core/xwiki-platform-security/xwiki-platform-security-requiredrights/xwiki-platform-security-requiredrights-default/src/main/java/org/xwiki/platform/security/requiredrights/internal/analyzer/AbstractMacroBlockRequiredRightAnalyzer.java
M
xwiki-platform-core/xwiki-platform-security/xwiki-platform-security-requiredrights/xwiki-platform-security-requiredrights-default/src/main/java/org/xwiki/platform/security/requiredrights/internal/analyzer/DefaultMacroBlockRequiredRightAnalyzer.java
A
xwiki-platform-core/xwiki-platform-security/xwiki-platform-security-requiredrights/xwiki-platform-security-requiredrights-default/src/main/java/org/xwiki/platform/security/requiredrights/internal/analyzer/DefaultMacroRequiredRightReporter.java
M
xwiki-platform-core/xwiki-platform-security/xwiki-platform-security-requiredrights/xwiki-platform-security-requiredrights-default/src/main/java/org/xwiki/platform/security/requiredrights/internal/analyzer/ScriptMacroAnalyzer.java
M
xwiki-platform-core/xwiki-platform-security/xwiki-platform-security-requiredrights/xwiki-platform-security-requiredrights-default/src/main/resources/ApplicationResources.properties
M
xwiki-platform-core/xwiki-platform-security/xwiki-platform-security-requiredrights/xwiki-platform-security-requiredrights-default/src/main/resources/META-INF/components.txt
M
xwiki-platform-core/xwiki-platform-security/xwiki-platform-security-requiredrights/xwiki-platform-security-requiredrights-default/src/test/java/org/xwiki/platform/security/requiredrights/internal/analyzer/DefaultMacroBlockRequiredRightAnalyzerTest.java
M
xwiki-platform-core/xwiki-platform-security/xwiki-platform-security-requiredrights/xwiki-platform-security-requiredrights-default/src/test/java/org/xwiki/platform/security/requiredrights/internal/analyzer/ScriptMacroAnalyzerTest.java
A
xwiki-platform-core/xwiki-platform-security/xwiki-platform-security-requiredrights/xwiki-platform-security-requiredrights-macro/pom.xml
A
xwiki-platform-core/xwiki-platform-security/xwiki-platform-security-requiredrights/xwiki-platform-security-requiredrights-macro/src/main/java/org/xwiki/platform/security/requiredrights/MacroRequiredRight.java
A
xwiki-platform-core/xwiki-platform-security/xwiki-platform-security-requiredrights/xwiki-platform-security-requiredrights-macro/src/main/java/org/xwiki/platform/security/requiredrights/MacroRequiredRightReporter.java
A
xwiki-platform-core/xwiki-platform-security/xwiki-platform-security-requiredrights/xwiki-platform-security-requiredrights-macro/src/main/java/org/xwiki/platform/security/requiredrights/MacroRequiredRightsAnalyzer.java
Log Message:
-----------
XWIKI-21528: Add a dedicated required rights analyzer API for macros without
dependencies
* Add a new API for macros to report required rights.
* Add support for calling these new analyzers in the default macro
analyzer.
* Improve error reporting for macro analyzers by displaying an analysis
result with the error when the macro analyzer produces an error.
Commit: edd22e35dba2437dc409ddbef144c2a1b4481772
https://github.com/xwiki/xwiki-platform/commit/edd22e35dba2437dc409ddbef144…
Author: Michael Hamann <michael.hamann(a)xwiki.com>
Date: 2023-11-13 (Mon, 13 Nov 2023)
Changed paths:
M
xwiki-platform-core/xwiki-platform-rendering/xwiki-platform-rendering-macros/xwiki-platform-rendering-macro-cache/pom.xml
A
xwiki-platform-core/xwiki-platform-rendering/xwiki-platform-rendering-macros/xwiki-platform-rendering-macro-cache/src/main/java/org/xwiki/rendering/internal/macro/cache/CacheMacroRequiredRightsAnalyzer.java
M
xwiki-platform-core/xwiki-platform-rendering/xwiki-platform-rendering-macros/xwiki-platform-rendering-macro-cache/src/main/resources/META-INF/components.txt
A
xwiki-platform-core/xwiki-platform-rendering/xwiki-platform-rendering-macros/xwiki-platform-rendering-macro-cache/src/test/java/org/xwiki/rendering/internal/macro/cache/CacheMacroRequiredRightsAnalyzerTest.java
Log Message:
-----------
XWIKI-21484: Add a required rights analyzer for the cache macro
Commit: e41d2e5a2ecf42235e47c17cfc6e4b22eff37b83
https://github.com/xwiki/xwiki-platform/commit/e41d2e5a2ecf42235e47c17cfc6e…
Author: Michael Hamann <michael.hamann(a)xwiki.com>
Date: 2023-11-13 (Mon, 13 Nov 2023)
Changed paths:
M xwiki-platform-core/xwiki-platform-rendering/xwiki-platform-rendering-xwiki/pom.xml
A
xwiki-platform-core/xwiki-platform-rendering/xwiki-platform-rendering-xwiki/src/main/java/org/xwiki/rendering/internal/macro/RawMacroRequiredRightsAnalyzer.java
M
xwiki-platform-core/xwiki-platform-rendering/xwiki-platform-rendering-xwiki/src/main/resources/ApplicationResources.properties
M
xwiki-platform-core/xwiki-platform-rendering/xwiki-platform-rendering-xwiki/src/main/resources/META-INF/components.txt
A
xwiki-platform-core/xwiki-platform-rendering/xwiki-platform-rendering-xwiki/src/test/java/org/xwiki/rendering/internal/macro/RawMacroRequiredRightsAnalyzerTest.java
Log Message:
-----------
XWIKI-21485: Add a required rights analyzer for the raw macro
Compare:
https://github.com/xwiki/xwiki-platform/compare/65a7147b8c73...e41d2e5a2ecf