Payload CMS plugin to add created & updated by fields
Will automatically add createdBy
and updatedBy
fields to all globals & collections in your app.
- Audit trail of who created & modified things
- Use it as the basis for a publishing approval workflow
npm install @boomworks/payload-plugin-author-fields
In your payload.config.ts
:
export default buildConfig({
// ...
plugins: [
addAuthorFields({
// See "Configuration"
}),
],
// ...
});
See PluginConfig
for all configuration options.
The demo
directory contains a Payload app showing a few examples, including customising labels & i18n.
Found a bug or have a feature request? Open an issue on GitHub and we'll look into it.