Question

Is there a grails plugin or standard way of managing the created_by, created_on, updated_by, updated_on fields for a domain object?

Was it helpful?

Solution

If you declare dateCreated and lastUpdated as Date they wil be maintained automatically by grails. You can use the Grails Audit Logging Plugin to log the authenticated user under different security systems.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top