2021-09-27 11:06:26 +00:00
|
|
|
# -*- coding: utf-8 -*-
|
|
|
|
#
|
|
|
|
from django.utils.translation import ugettext_lazy as _
|
|
|
|
|
|
|
|
DEFAULT_CITY = _("Unknown")
|
2022-05-05 06:42:09 +00:00
|
|
|
|
|
|
|
MODELS_NEED_RECORD = (
|
|
|
|
# users
|
|
|
|
'User', 'UserGroup',
|
|
|
|
# acls
|
|
|
|
'LoginACL', 'LoginAssetACL', 'LoginConfirmSetting',
|
|
|
|
# assets
|
|
|
|
'Asset', 'Node', 'AdminUser', 'SystemUser', 'Domain', 'Gateway', 'CommandFilterRule',
|
2022-07-15 10:03:32 +00:00
|
|
|
'CommandFilter', 'Platform', 'Account',
|
2022-05-05 06:42:09 +00:00
|
|
|
# applications
|
|
|
|
# orgs
|
|
|
|
'Organization',
|
|
|
|
# settings
|
|
|
|
'Setting',
|
|
|
|
# perms
|
2022-08-16 08:34:16 +00:00
|
|
|
'AssetPermission',
|
2022-05-05 06:42:09 +00:00
|
|
|
# xpack
|
|
|
|
'License', 'Account', 'SyncInstanceTask', 'ChangeAuthPlan', 'GatherUserTask',
|
|
|
|
)
|