Uploaded image for project: 'Magnolia'
  1. Magnolia
  2. MAGNOLIA-7365

Improve MgnlAuditLoggingContentDecoratorSessionWrapper make it configurable or allow other interceptors involve

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Unresolved
    • Neutral
    • None
    • 5.7.1
    • core
    • None

    Description

      • As we would like to have our custom decorators to JR content follow Magnolia way and we're stuck with MgnlAuditLoggingContentDecoratorSessionWrapper. Since DefaultRepositoryManager is a Magnolia provided final class which having hard call to MgnlAuditLoggingContentDecoratorSessionWrapper that we cannot change, extends or configure it. So we're expecting to have a mechanism to configure it or implement event listeners / handlers before and after node changes for audit.
      • Suggestion:
      • For each node / property operation, we support before change and after change interceptors.
      • For each interceptor, we support synchronous / asynchronous handlers to those events.
      • Then to support custom action and transactional action, we'll register our custom content listener before apply any change based on our need.

      Checklists

        Acceptance criteria

        Attachments

          Issue Links

            Activity

              People

                Unassigned Unassigned
                viet.nguyen Viet Nguyen
                Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                  Created:
                  Updated:

                  Checklists

                    Task DoD