PluginsWhat you've got loaded..
Log User Actions 1.1
A plugin for Coldfusion on Wheels by Andy Bellenie
This plugin allows the automatic completion of user logging fields during insertions, updates and deletes.
Usage
Add logUserActions(userIdLocation[, createProperty, updateProperty, deleteProperty]) to the init of your model to enable the plugin.
- userIdLocation (string, required) - the literal name of a variable containing the value you want to store as a user Id, e.g. "session.userId" (not the value itself!)
- createProperty (string, default 'createdBy') - the name of the column you would like to use for logging creates
- updateProperty (string, default 'updatedBy') - the name of the column you would like to use for logging updates
- deleteProperty (string, default 'deletedBy') - the name of the column you would like to use for logging deletes
<cffunction name="init"> <cfset logUserActions(userIdLocation="session.userId")> </cffunction>
Support
I try to keep my plugins free from bugs and up to date with Wheels releases, but if you encounter a problem please log an issue using the tracker on github, where you can also browse my other plugins.
https://github.com/andybellenie