Author Fields

Adds created and updated by fields to collections and globals in Payload CMS.

Community 43 17/wk MIT v1.1.9

Installation

pnpm add @boomworks/payload-plugin-author-fields

About

This plugin automatically appends 'createdBy' and 'updatedBy' fields to all collections and globals in a Payload CMS application. It provides an audit trail to track who created and modified records in the database, which is useful for approval workflows, compliance, and accountability. To integrate the plugin, you need to use the 'addAuthorFields' function within your Payload configuration file. Configuration options allow for customization of field labels and other features. The demo directory includes examples that demonstrate its capabilities and configuration. This plugin supports the Payload versions 0.18.5 through 2.0.0 and is compatible with React version 16.8.0 and above. Documentation for more advanced configurations is available in the source files.

Package info

Package name
@boomworks/payload-plugin-author-fields
Latest version
1.1.9
Unpacked size
26 kB
License
MIT
Weekly downloads
17
Last publish
May 14, 2024

Similar plugins

More in Content