Branch: refs/heads/stable-16.4.x Home: https://github.com/xwiki/xwiki-platform Commit: 770c0f994b834525ea8c5d93bcb13d599670ebe6 https://github.com/xwiki/xwiki-platform/commit/770c0f994b834525ea8c5d93bcb13... Author: Michael Hamann <[email protected]> Date: 2024-12-18 (Wed, 18 Dec 2024) Changed paths: 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/ComputedFieldClassRequiredRightAnalyzer.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/DBListClassRequiredRightAnalyzer.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/DefaultBaseClassRequiredRightAnalyzer.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/PropertyClassRequiredRightAnalyzer.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/XClassWikiContentAnalyzer.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 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/display/BaseCollectionBlockSupplierProvider.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/display/BaseObjectBlockSupplierProvider.java R xwiki-platform-core/xwiki-platform-security/xwiki-platform-security-requiredrights/xwiki-platform-security-requiredrights-default/src/main/java/org/xwiki/platform/security/requiredrights/internal/display/XObjectDisplayerProvider.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 A 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/DefaultBaseClassRequiredRightAnalyzerTest.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/XWikiDocumentRequiredRightAnalyzerTest.java A xwiki-platform-core/xwiki-platform-security/xwiki-platform-security-requiredrights/xwiki-platform-security-requiredrights-default/src/test/java/org/xwiki/platform/security/requiredrights/internal/display/BaseCollectionBlockSupplierProviderTest.java R xwiki-platform-core/xwiki-platform-security/xwiki-platform-security-requiredrights/xwiki-platform-security-requiredrights-default/src/test/java/org/xwiki/platform/security/requiredrights/internal/display/XObjectDisplayerProviderTest.java Log Message: ----------- XWIKI-22476: Introduce a required rights analyzer for BaseClass * Add an implementation for RequiredRightAnalyzer<BaseClass>. * Call the new analyzer in the document analyzer. * Add a helper for analyzing wiki content in XClass definitions. * Introduce an analyzer per property type and call the first one that matches. * Add a block supplier provider that supports XClass. * Add tests. (cherry picked from commit 385bde985cdb61ebf315d30c0b144b6d2e2c2d45) Commit: e292592b8e1c5be1758da9b1d4b726d3717a58f5 https://github.com/xwiki/xwiki-platform/commit/e292592b8e1c5be1758da9b1d4b72... Author: Michael Hamann <[email protected]> Date: 2024-12-18 (Wed, 18 Dec 2024) Changed paths: 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/ConfigurableClassRequiredRightsAnalyzer.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/DefaultObjectRequiredRightAnalyzer.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/ObjectPropertyRequiredRightAnalyzer.java 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/ConfigurableClassRequiredRightsAnalyzerTest.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/DefaultObjectRequiredRightAnalyzerTest.java A 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/ObjectPropertyRequiredRightAnalyzerTest.java Log Message: ----------- [Misc] Refactor required rights analyzers to reduce code duplication (cherry picked from commit 9bdeb82bc17a9ac63da751c6e5665a63731a53ce) Commit: 4a23c12e0f649d11345d27e845afe28e5d19548f https://github.com/xwiki/xwiki-platform/commit/4a23c12e0f649d11345d27e845afe... Author: Michael Hamann <[email protected]> Date: 2024-12-18 (Wed, 18 Dec 2024) Changed paths: M xwiki-platform-core/xwiki-platform-eventstream/xwiki-platform-eventstream-default/pom.xml A xwiki-platform-core/xwiki-platform-eventstream/xwiki-platform-eventstream-default/src/main/java/org/xwiki/eventstream/internal/EventClassRequiredRightAnalyzer.java A xwiki-platform-core/xwiki-platform-eventstream/xwiki-platform-eventstream-default/src/main/resources/ApplicationResources.properties M xwiki-platform-core/xwiki-platform-eventstream/xwiki-platform-eventstream-default/src/main/resources/META-INF/components.txt A xwiki-platform-core/xwiki-platform-eventstream/xwiki-platform-eventstream-default/src/test/java/org/xwiki/eventstream/internal/EventClassRequiredRightAnalyzerTest.java Log Message: ----------- XWIKI-22461: XWiki.EventStream.Code.EventClass is missing a required rights analyzer * Add a required rights analyzer for XWiki.EventStream.Code.EventClass. * Add a unit test. * Replace duplicated string literals across classes by constants. (cherry picked from commit 521a1343fba4836486d1b0d4c7e28b976809da9d) Commit: bdf0f1ca40d5ad7e474aad0f6562bbcd6de3a5a5 https://github.com/xwiki/xwiki-platform/commit/bdf0f1ca40d5ad7e474aad0f6562b... Author: Michael Hamann <[email protected]> Date: 2024-12-18 (Wed, 18 Dec 2024) Changed paths: M xwiki-platform-core/xwiki-platform-notifications/xwiki-platform-notifications-filters/xwiki-platform-notifications-filters-default/pom.xml A xwiki-platform-core/xwiki-platform-notifications/xwiki-platform-notifications-filters/xwiki-platform-notifications-filters-default/src/main/java/org/xwiki/notifications/filters/internal/XWikiNotificationFilterDisplayerRequiredRightAnalyzer.java A xwiki-platform-core/xwiki-platform-notifications/xwiki-platform-notifications-filters/xwiki-platform-notifications-filters-default/src/main/resources/ApplicationResources.properties M xwiki-platform-core/xwiki-platform-notifications/xwiki-platform-notifications-filters/xwiki-platform-notifications-filters-default/src/main/resources/META-INF/components.txt A xwiki-platform-core/xwiki-platform-notifications/xwiki-platform-notifications-filters/xwiki-platform-notifications-filters-default/src/test/java/org/xwiki/notifications/filters/internal/XWikiNotificationFilterDisplayerRequiredRightAnalyzerTest.java Log Message: ----------- XWIKI-22469: Add a required rights analyzer for XWiki.Notifications.Code.NotificationFilterDisplayerClass (cherry picked from commit e70468d227e82c0710b4e23b364cbfe1049bfe9a) Commit: 1a9a97270317f030d54c2bd6e3f1b4a65dc01e8b https://github.com/xwiki/xwiki-platform/commit/1a9a97270317f030d54c2bd6e3f1b... Author: Michael Hamann <[email protected]> Date: 2024-12-18 (Wed, 18 Dec 2024) Changed paths: A xwiki-platform-core/xwiki-platform-notifications/xwiki-platform-notifications-notifiers/xwiki-platform-notifications-notifiers-default/src/main/java/org/xwiki/notifications/notifiers/internal/email/WikiEmailNotificationRendererRequiredRightAnalyzer.java M xwiki-platform-core/xwiki-platform-notifications/xwiki-platform-notifications-notifiers/xwiki-platform-notifications-notifiers-default/src/main/resources/ApplicationResources.properties M xwiki-platform-core/xwiki-platform-notifications/xwiki-platform-notifications-notifiers/xwiki-platform-notifications-notifiers-default/src/main/resources/META-INF/components.txt A xwiki-platform-core/xwiki-platform-notifications/xwiki-platform-notifications-notifiers/xwiki-platform-notifications-notifiers-default/src/test/java/org/xwiki/notifications/notifiers/internal/email/WikiEmailNotificationRendererRequiredRightAnalyzerTest.java Log Message: ----------- XWIKI-22471: Add a required rights analyzer for XWiki.Notifications.Code.NotificationEmailRendererClass (cherry picked from commit 3d96bf3ceb167bf0213d63f0be1f7e1732eb0a92) Commit: 45707e81b9ddca92b293e149e33e8890bf8bf770 https://github.com/xwiki/xwiki-platform/commit/45707e81b9ddca92b293e149e33e8... Author: Michael Hamann <[email protected]> Date: 2024-12-18 (Wed, 18 Dec 2024) Changed paths: M xwiki-platform-core/xwiki-platform-notifications/xwiki-platform-notifications-notifiers/xwiki-platform-notifications-notifiers-default/src/main/java/org/xwiki/notifications/notifiers/internal/WikiNotificationDisplayerRequiredRightAnalyzer.java M xwiki-platform-core/xwiki-platform-notifications/xwiki-platform-notifications-notifiers/xwiki-platform-notifications-notifiers-default/src/main/resources/ApplicationResources.properties M xwiki-platform-core/xwiki-platform-notifications/xwiki-platform-notifications-notifiers/xwiki-platform-notifications-notifiers-default/src/test/java/org/xwiki/notifications/notifiers/internal/WikiNotificationDisplayerRequiredRightAnalyzerTest.java Log Message: ----------- XWIKI-22470: Add a required rights analyzer for XWiki.Notifications.Code.NotificationDisplayerClass * Simplify the code by using ObjectPropertyRequiredRightAnalyzer. * Add missing since-versions. (cherry picked from commit f07073f10bc5bd09588bf3dea1be377da2992cfe) Compare: https://github.com/xwiki/xwiki-platform/compare/9c17bc89b4e4...45707e81b9dd To unsubscribe from these emails, change your notification settings at https://github.com/xwiki/xwiki-platform/settings/notifications