[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:
parent
855c4258a2
commit
ddc30d6ae1
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue