grails-audit-logging-plugin
grails-audit-logging-plugin copied to clipboard
GPAUDITLOGGING-51: Allow most configuration to be specified at both the global level and the instance level
Original Reporter: longwa Environment: Not Specified Version: Grails-AuditLogging 0.5.5.3 Migrated From: http://jira.grails.org/browse/GPAUDITLOGGING-51
Currently, there's a mix of things that can be specified globally via config, locally on the object, or both.
It would be nice to clean this up and have a policy whereby most configuration options where applicable to both global config as well as in the auditable map.
For example, right now you can only enable verbose auditing globally, but we could allow:
{code} static auditable = [verbose: true, transactional: true] {code}
This could also be true for other properties such as:
- The default actor (instead of 'system')
- The truncate length
- The property mask
See also #17