[MAGNOLIA-5012] Add possibility into AuditLogging to monitor only specific workspace Created: 03/May/13  Updated: 16/Mar/21  Resolved: 16/Mar/21

Status: Closed
Project: Magnolia
Component/s: core
Affects Version/s: None
Fix Version/s: None

Type: Improvement Priority: Neutral
Reporter: Milan Divilek Assignee: Unassigned
Resolution: Won't Fix Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
relation
is related to MAGNOLIA-4778 Audit log is (partially) not working ... Closed
Template:
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)

 Description   

We do not wrap the Store, Expression, imaging and mgnlVersion with MgnlAuditLoggingContentDecoratorSessionWrapper for now. We should make audit logging configurable per workspace.

When this issue is solved then remove from info.magnolia.repository.DefaultRepositoryManager

if ("imaging".equals(logicalWorkspaceName) || "Expressions".equals(logicalWorkspaceName) || "Store".equals(logicalWorkspaceName)) {
    // don't wrap imaging, expression and store into audit logging session
    return new MgnlVersioningSession(session);
}

and add imaging, Expression and Store into forbidden workspaces.

Concept: http://wiki.magnolia-cms.com/display/DEV/Concept+-+Move+AuditLog+from+Content+API+to+JCR+API


Generated at Mon Feb 12 04:01:08 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.