boomworks

payload plugin author fields

by boomworks
Logging & monitoring
v1
v2
^0.18.5 || ^1.0.0 || ^2.0.0

Overview

Summary generated from the README

Registers as a Payload plugin and automatically adds createdBy and updatedBy fields to every collection and global. This gives an audit trail of who created and modified content and can serve as a basis for an approval workflow. Labels and i18n can be customised through plugin configuration. Supports Payload 0.18.5, 1.x and 2.x.

Features

  • Adds createdBy and updatedBy fields to all collections
  • Applies the same fields to all globals
  • Customisable labels and i18n through plugin config
  • Works with Payload 0.18.5, 1.x and 2.x

Use cases

  • Track which user created or last edited each document for an audit trail
  • Build a publishing approval workflow on top of author information

From the author

Payload CMS plugin to add created & updated by fields

Installation

npm i @boomworks/payload-plugin-author-fields

43

Stars

4

Forks

7

Open Issues

2 years ago

Last Updated

67

Weekly Downloads

v1.1.9

npm Version

25.8 KB

Unpacked Size

0

Dependencies

GitHub stars

43+1 since Sep 7

Show data
GitHub stars by day (UTC)
DateStars
Dec 6, 202643
Dec 5, 202643
Dec 4, 202643
Dec 3, 202643
Dec 2, 202643
Dec 1, 202643
Nov 30, 202643
Nov 29, 202643
Nov 28, 202643
Nov 27, 202643
Nov 26, 202643
Nov 25, 202643
Nov 24, 202644
Nov 23, 202644
Nov 22, 202644
Nov 21, 202644
Nov 20, 202644
Nov 19, 202644
Nov 18, 202644
Nov 17, 202644
Nov 16, 202644
Nov 15, 202644
Nov 14, 202644
Nov 13, 202644
Nov 12, 202644
Nov 11, 202644
Nov 10, 202644
Nov 9, 202644
Nov 8, 202644
Nov 7, 202644
Nov 6, 202644
Nov 5, 202644
Nov 4, 202644
Nov 3, 202644
Nov 2, 202644
Nov 1, 202644
Oct 31, 202644
Oct 30, 202644
Oct 29, 202644
Oct 28, 202644
Oct 27, 202644
Oct 26, 202644
Oct 25, 202644
Oct 24, 202644
Oct 23, 202644
Oct 22, 202644
Oct 21, 202643
Oct 20, 202643
Oct 19, 202643
Oct 18, 202643
Oct 17, 202643
Oct 16, 202643
Oct 15, 202643
Oct 14, 202643
Oct 13, 202643
Oct 12, 202643
Oct 11, 202643
Oct 10, 202643
Oct 9, 202643
Oct 8, 202643
Oct 7, 202643
Oct 6, 202643
Oct 5, 202643
Oct 4, 202643
Oct 3, 202643
Oct 2, 202643
Oct 1, 202643
Sep 30, 202643
Sep 29, 202643
Sep 28, 202643
Sep 27, 202643
Sep 26, 202643
Sep 25, 202643
Sep 24, 202643
Sep 23, 202643
Sep 22, 202643
Sep 21, 202643
Sep 20, 202643
Sep 19, 202643
Sep 18, 202642
Sep 17, 202642
Sep 16, 202642
Sep 15, 202642
Sep 14, 202642
Sep 13, 202642
Sep 12, 202642
Sep 11, 202642
Sep 10, 202642
Sep 9, 202642
Sep 8, 202642
Sep 7, 202642
npm weekly downloads

67+4 since Sep 7

Show data
npm weekly downloads by day (UTC)
DateWeekly downloads
Dec 6, 202667
Dec 5, 202664
Dec 4, 202627
Dec 3, 202626
Dec 2, 202633
Dec 1, 202636
Nov 30, 202641
Nov 29, 202668
Nov 28, 202667
Nov 27, 202667
Nov 26, 202665
Nov 25, 202660
Nov 24, 202639
Nov 23, 202634
Nov 22, 202610
Nov 21, 202628
Nov 20, 202631
Nov 19, 202634
Nov 18, 202664
Nov 17, 202664
Nov 16, 202663
Nov 15, 202670
Nov 14, 202663
Nov 13, 202662
Nov 12, 202669
Nov 11, 202650
Nov 10, 202670
Nov 9, 202670
Nov 8, 202668
Nov 7, 202656
Nov 6, 202668
Nov 5, 202669
Nov 4, 202659
Nov 3, 202640
Nov 2, 202642
Nov 1, 202652
Oct 31, 202655
Oct 30, 202643
Oct 29, 202632
Oct 28, 202629
Oct 27, 202628
Oct 26, 202631
Oct 25, 202630
Oct 24, 202645
Oct 23, 202640
Oct 22, 202662
Oct 21, 202684
Oct 20, 202684
Oct 19, 202679
Oct 18, 202668
Oct 17, 202651
Oct 16, 202660
Oct 15, 202652
Oct 14, 202649
Oct 13, 202649
Oct 12, 202649
Oct 11, 202646
Oct 10, 202658
Oct 9, 202663
Oct 8, 202655
Oct 7, 202638
Oct 6, 202638
Oct 5, 202638
Oct 4, 202636
Oct 3, 202626
Oct 2, 202627
Oct 1, 202634
Sep 30, 202639
Sep 29, 202639
Sep 28, 202643
Sep 27, 202645
Sep 26, 202690
Sep 25, 202687
Sep 24, 202686
Sep 23, 202688
Sep 22, 202689
Sep 21, 2026107
Sep 20, 2026112
Sep 19, 202677
Sep 18, 202667
Sep 17, 202660
Sep 16, 202652
Sep 15, 202651
Sep 14, 202632
Sep 13, 202639
Sep 12, 202632
Sep 11, 202639
Sep 10, 202651
Sep 9, 202658
Sep 8, 202665
Sep 7, 202663

Each point is npm's rolling 7-day download count.

Health Score

36/100Fair

Composite score based on GitHub activity, stars, npm downloads, publish recency, dependency count, and package size.

Badge for your README

Payload Directory health badge
Markdown
[![Payload Directory](https://payloaddirectory.dev/badge/619287976-root.svg)](https://payloaddirectory.dev/plugins/619287976-root)
HTML
<a href="https://payloaddirectory.dev/plugins/619287976-root"><img src="https://payloaddirectory.dev/badge/619287976-root.svg" alt="Payload Directory"></a>
Updated May 22, 2024Created Mar 26, 2023Published May 14, 2024

README

Payload CMS Author Fields plugin

Payload CMS plugin to add created & updated by fields

What?

Will automatically add createdBy and updatedBy fields to all globals & collections in your app.

Why?

  • Audit trail of who created & modified things
  • Use it as the basis for a publishing approval workflow

How?

Installation

npm install @boomworks/payload-plugin-author-fields

Usage

In your payload.config.ts:

export default buildConfig({
  // ...
  plugins: [
    addAuthorFields({
      // See "Configuration"
    }),
  ],
  // ...
});
Configuration

See PluginConfig for all configuration options.

The demo directory contains a Payload app showing a few examples, including customising labels & i18n.

Contributing

Found a bug or have a feature request? Open an issue on GitHub and we'll look into it.

Similar plugins