core icon indicating copy to clipboard operation
core copied to clipboard

Feature Request: Track Content Type Structure Changes

Open Neehakethi opened this issue 7 months ago • 0 comments

User Story

Currently, dotCMS does not offer a version history for structural changes made to content types (e.g., field additions, modifications, or deletions). While contentlets have built-in versioning, structural definitions do not — making it difficult to audit who changed what and when.

This request proposes implementing versioning mechanism for content type structures.

Logged events for add/edit/delete actions on content type fields visible through the UI or API (not just logs). User and timestamp information for each change.

Aid in troubleshooting broken fields or missing data. Enable accountability for content type administrators.

Currently, the only workaround is to grep through application logs for ActivityLogger entries such as:

INFO util.ActivityLogger: system : Delete Field Action , User dotcms.org.1/Admin deleted field 'Tags' from Destination Content Type.

However, this is not user-friendly, and log retention limitations make it unreliable for long-term audits.

Acceptance Criteria

Logged events for add/edit/delete actions on content type fields visible through the UI or API (not just logs). User and timestamp information for each change.

Under each Content Type → Add a “History” or “Audit Log” tab. API endpoint to fetch field history by content type.

Proposed Objective

Core Features

Proposed Priority

Priority 2 - Important

External Links... Slack Conversations, Support Tickets, Figma Designs, etc.

https://dotcms.freshdesk.com/a/tickets/31526

Assumptions & Initiation Needs

No response

Quality Assurance Notes & Workarounds

No response

Sub-Tasks & Estimates

No response

Neehakethi avatar Jun 17 '25 02:06 Neehakethi