[xwiki/xwiki-platform] ce147b: XWIKI-24747: Improve user document events handling
Branch: refs/heads/master Home: https://github.com/xwiki/xwiki-platform Commit: ce147b6da23a354ed498efa5fd8267a1fbd9ea12 https://github.com/xwiki/xwiki-platform/commit/ce147b6da23a354ed498efa5fd826... Author: Thomas Mortagne <[email protected]> Date: 2026-09-03 (Thu, 03 Sep 2026) Changed paths: M xwiki-platform-core/xwiki-platform-oldcore/src/main/java/com/xpn/xwiki/XWiki.java M xwiki-platform-core/xwiki-platform-oldcore/src/test/java/com/xpn/xwiki/XWikiTest.java M xwiki-platform-core/xwiki-platform-security/xwiki-platform-security-authorization/xwiki-platform-security-authorization-bridge/src/main/java/org/xwiki/security/authorization/internal/RightsFilterListener.java M xwiki-platform-core/xwiki-platform-security/xwiki-platform-security-authorization/xwiki-platform-security-authorization-bridge/src/test/java/org/xwiki/security/authorization/internal/RightsFilterListenerTest.java Log Message: ----------- XWIKI-24747: Improve user document events handling XWIKI-24780: A listener cannot modify a renamed document through DocumentUpdating/CreatingEvent * added a hack which modify the document with changes made by listener right before the actual store rename, with with dirty=false and skipping events so that in the end it looks like it was modified as part of the rename * modify RightsFilterListener to apply filtering also during renames, now that it's possible XWIKI-24791: A rename always produce a DocumentCreating/edEvent even when the target location already exist * use the document currently located at the target as original document in the simulated renamind/ed XWikiDocument XWIKI-24794: Only cancel forbidden right changes instead of all of them To unsubscribe from these emails, change your notification settings at https://github.com/xwiki/xwiki-platform/settings/notifications
participants (1)
-
XWiki Notifications