[FIX] Audittrail : The method reag_group also need to be skipped while passing through audittrail scanner

lp bug: https://launchpad.net/bugs/1013229 fixed

bzr revid: support@serpentcs.com-20120621214311-etvwtf0umk2wz1qp
This commit is contained in:
Serpent Consulting Services 2012-06-22 03:13:11 +05:30
parent 855c4258a2
commit ddc30d6ae1
1 changed files with 1 additions and 1 deletions

View File

@ -483,7 +483,7 @@ class audittrail_objects_proxy(object_proxy):
if len(rule['user_id']) == 0 or uid in rule['user_id']:
if rule.get('log_'+method,0):
return True
elif method not in ('default_get','read','fields_view_get','fields_get','search','search_count','name_search','name_get','get','request_get', 'get_sc', 'unlink', 'write', 'create'):
elif method not in ('default_get','read','fields_view_get','fields_get','search','search_count','name_search','name_get','get','request_get', 'get_sc', 'unlink', 'write', 'create', 'read_group', 'import_data'):
if rule['log_action']:
return True