mirror of https://github.com/jumpserver/jumpserver
fix: 修复操作应用/应用授权/acl等未记录日志的问题
parent
94a798eb01
commit
3d6aa15ece
|
@ -27,11 +27,23 @@ json_render = JSONRenderer()
|
||||||
|
|
||||||
|
|
||||||
MODELS_NEED_RECORD = (
|
MODELS_NEED_RECORD = (
|
||||||
'User', 'UserGroup', 'Asset', 'Node', 'AdminUser', 'SystemUser',
|
# users
|
||||||
'Domain', 'Gateway', 'Organization', 'AssetPermission', 'CommandFilter',
|
'User', 'UserGroup',
|
||||||
'CommandFilterRule', 'License', 'Setting', 'Account', 'SyncInstanceTask',
|
# acls
|
||||||
'Platform', 'ChangeAuthPlan', 'GatherUserTask',
|
'LoginACL', 'LoginAssetACL',
|
||||||
'RemoteApp', 'RemoteAppPermission', 'DatabaseApp', 'DatabaseAppPermission',
|
# assets
|
||||||
|
'Asset', 'Node', 'AdminUser', 'SystemUser', 'Domain', 'Gateway', 'CommandFilterRule',
|
||||||
|
'CommandFilter', 'Platform',
|
||||||
|
# applications
|
||||||
|
'Application',
|
||||||
|
# orgs
|
||||||
|
'Organization',
|
||||||
|
# settings
|
||||||
|
'Setting',
|
||||||
|
# perms
|
||||||
|
'AssetPermission', 'ApplicationPermission',
|
||||||
|
# xpack
|
||||||
|
'License', 'Account', 'SyncInstanceTask', 'ChangeAuthPlan', 'GatherUserTask',
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue