mirror of
https://github.com/jumpserver/jumpserver.git
synced 2025-12-16 09:02:49 +00:00
Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
f794b5022a | ||
|
|
9575adcef5 |
@@ -26,11 +26,21 @@ 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',
|
# assets
|
||||||
'Platform', 'ChangeAuthPlan', 'GatherUserTask',
|
'Asset', 'Node', 'AdminUser', 'SystemUser', 'Domain', 'Gateway', 'CommandFilterRule',
|
||||||
'RemoteApp', 'RemoteAppPermission', 'DatabaseApp', 'DatabaseAppPermission',
|
'CommandFilter', 'Platform',
|
||||||
|
# applications
|
||||||
|
'Application',
|
||||||
|
# orgs
|
||||||
|
'Organization',
|
||||||
|
# settings
|
||||||
|
'Setting',
|
||||||
|
# perms
|
||||||
|
'AssetPermission', 'ApplicationPermission',
|
||||||
|
# xpack
|
||||||
|
'License', 'Account', 'SyncInstanceTask', 'ChangeAuthPlan', 'GatherUserTask',
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user