/loopback-ds-user-mixin

A mixin to automatically generate createdBy and updatedBy attributes for loopback Models

Primary LanguageJavaScriptISC LicenseISC

USER MIXIN

This module is designed for the Strongloop Loopback framework. It automatically adds createdBy and updatedBy attributes to any Model.

createdBy will be set to the id of the user which created the instance

updatedBy will be set to the id of the user which last updated the instance

This module is implemented with the before save Operation Hook which requires the loopback-datasource-juggler module greater than v2.23.0.

LICENSE

ISC