Stats
Version
0.3
Wheels Compatibility
1.0, 1.0 RC1, 0.9.4
Downloads
107
Last Updated
January 5, 2010
About Plugins
Plugins allow you to extend or modify default Wheels application behavior. To use, you just drop the zip file into your plugins directory and reload your application.
Read Using and Creating Plugins for more information.
Log User Actions
Allows logging of who has performed a create/update/delete action
Author
Description
This plugin allows the automatic completion of user logging fields during create, update and delete actions.
For questions, errors or suggestions please email andybellenie@gmail.com
Usage/Examples
To enable this plugin you need to include one or more of the following settings in config/settings.cfm
<cfset set(logUserOnCreateProperty="{created by column name}")>
<cfset set(logUserOnUpdateProperty="{updated by column name}")>
<cfset set(logUserOnDeleteProperty="{deleted by column name}")>
NOTE: You must have soft deletion enabled to log delete events. For more information on soft deletion, please refer to the Wheels documentation.
The default user identifier to log is 'session.userId' which must exist for logging to work. If you wish to change this, also set the following:
<cfset set(userIdLocation="{user id variable (in any scope)} ")>
Change Log
Version 0.3—October 30, 2009 Download
- Initial public release.
- Wheels compatibility: 0.9, 1.0.
