Branch: refs/heads/stable-15.10.x Home: https://github.com/xwiki/xwiki-platform Commit: 766e07ae8f2234eedf062672ec0adf8174e80981 https://github.com/xwiki/xwiki-platform/commit/766e07ae8f2234eedf062672ec0ad... Author: Michael Hamann <[email protected]> Date: 2024-12-19 (Thu, 19 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/provider/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/provider/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/provider/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 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/provider/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: 26fbf0ac87f6d86d172f4e9d0298fa00b73bc2f8 https://github.com/xwiki/xwiki-platform/commit/26fbf0ac87f6d86d172f4e9d0298f... Author: Michael Hamann <[email protected]> Date: 2024-12-19 (Thu, 19 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: 8c63a575a3886262b10a95917c5838a8145b146e https://github.com/xwiki/xwiki-platform/commit/8c63a575a3886262b10a95917c583... Author: Michael Hamann <[email protected]> Date: 2024-12-19 (Thu, 19 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: 975c06aa1b4c4e9162723b50ed0cd0b5e092471f https://github.com/xwiki/xwiki-platform/commit/975c06aa1b4c4e9162723b50ed0cd... Author: Michael Hamann <[email protected]> Date: 2024-12-19 (Thu, 19 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: 4a006fb31022a0317d4677612d75467fd7b34e3a https://github.com/xwiki/xwiki-platform/commit/4a006fb31022a0317d4677612d754... Author: Michael Hamann <[email protected]> Date: 2024-12-19 (Thu, 19 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: 1b0fcd4d126a91a9642816e2f3863a995df3c9d2 https://github.com/xwiki/xwiki-platform/commit/1b0fcd4d126a91a9642816e2f3863... Author: Michael Hamann <[email protected]> Date: 2024-12-19 (Thu, 19 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/81c08bd59cd5...1b0fcd4d126a To unsubscribe from these emails, change your notification settings at https://github.com/xwiki/xwiki-platform/settings/notifications