Author Fields
Adds created and updated by fields to collections and globals in Payload CMS.
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 ContentShaggle Core
Adds ready-made collections, globals, and layout blocks for agency and hospitality sites to a Payload CMS config.
Meilisearch
Syncs Payload CMS collection documents to a Meilisearch index via afterChange and afterDelete hooks.
Nested Docs
Adds parent-child document hierarchies with auto-generated breadcrumbs to Payload collections.
Redirects
Manage redirects directly within the Payload CMS admin panel.
Iframe Tabs
Add iframes into separate tabs in the Payload admin panel.
Relationship Enhancer
Enhances relationships in Payload CMS with referential integrity and bi-directional support.