Branch: refs/heads/stable-15.10.x
Home:
https://github.com/xwiki/xwiki-platform
Commit: b18fa59902e8202dedb73276965c95eca6657f52
https://github.com/xwiki/xwiki-platform/commit/b18fa59902e8202dedb73276965c…
Author: Pierre Jeanjean <pierre.jeanjean(a)xwiki.com>
Date: 2023-11-22 (Wed, 22 Nov 2023)
Changed paths:
M
xwiki-platform-core/xwiki-platform-localization/xwiki-platform-localization-sources/xwiki-platform-localization-source-wiki/pom.xml
A
xwiki-platform-core/xwiki-platform-localization/xwiki-platform-localization-sources/xwiki-platform-localization-source-wiki/src/main/java/org/xwiki/localization/wiki/internal/TranslationDocumentObjectRequiredRightAnalyzer.java
A
xwiki-platform-core/xwiki-platform-localization/xwiki-platform-localization-sources/xwiki-platform-localization-source-wiki/src/main/resources/ApplicationResources.properties
M
xwiki-platform-core/xwiki-platform-localization/xwiki-platform-localization-sources/xwiki-platform-localization-source-wiki/src/main/resources/META-INF/components.txt
A
xwiki-platform-core/xwiki-platform-localization/xwiki-platform-localization-sources/xwiki-platform-localization-source-wiki/src/test/java/org/xwiki/localization/wiki/internal/TranslationDocumentObjectRequiredRightAnalyzerTest.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/XWikiDocumentRequiredRightAnalyzer.java
Log Message:
-----------
XWIKI-21486: Add a required rights analyzer for XWiki.TranslationDocumentClass (#2615)
* Add analyzer for scope field
* Add Admin required right
* Add component test
* Check required rights on objects on root locale document
* Report required rights on the content of translation documents as well
(cherry picked from commit 2eb9816e73fad566ad079ada6eb2b5adedf20e8a)