Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
l y
Jumpserver
Commits
da79f8be
Commit
da79f8be
authored
3 years ago
by
feng626
Browse files
Options
Download
Email Patches
Plain Diff
fix: 【【账号管理】应用账号导出字段存在英文】
parent
3f72c020
dev
dependabot/pip/requirements/ansible-4.2.0
feat_acl_muiltistrategy
feat_proxyterminal
master
pr@dev@escape_route
pr@dev@feat_custom_platform_auth_change
pr@dev@feat_custom_watermark
pr@dev@feat_rdp_chinese_username
pr@dev@feat_support_sqlserver_change_password
pr@dev@feat_ticket_serial
pr@dev@feat_user_view
pr@dev@fix_actions
pr@dev@fix_sms
pr@dev@fix_tcp_syslog
pr@dev@perf_base_model
pr@dev@share_session_link
pr@dev@ticket
pr@dev@ticket_flow_assignes
pr@dev@vault_secret
prr@dev@fix_ldapimport
repr@dev_v2.14_v2.15@2d6610b133512a3@fix_db_connection_not_close
v2.15
v2.16
v2.17
v2.18
v2.19
v2.20
v2.21
v2.22
v2.22.0
v2.21.4
v2.21.3
v2.21.2
v2.21.1
v2.21.0
v2.20.3
v2.20.2
v2.20.1
v2.20.0
v2.19.2
v2.19.1
v2.19.0
v2.18.3
v2.18.2
v2.18.1
v2.18.0
v2.17.5
v2.17.4
v2.17.3
v2.17.2
v2.17.1
v2.17.0
v2.16.3
v2.16.2
v2.16.1
v2.16.0
v2.15.5
v2.15.4
v2.15.3
v2.15.2
v2.15.1
v2.15.0
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
apps/applications/serializers/application.py
+4
-1
apps/applications/serializers/application.py
with
4 additions
and
1 deletion
+4
-1
apps/applications/serializers/application.py
+
4
-
1
View file @
da79f8be
...
@@ -104,7 +104,8 @@ class AppAccountSerializer(AuthSerializerMixin, BulkOrgResourceModelSerializer):
...
@@ -104,7 +104,8 @@ class AppAccountSerializer(AuthSerializerMixin, BulkOrgResourceModelSerializer):
extra_kwargs
=
{
extra_kwargs
=
{
'username'
:
{
'default'
:
''
,
'required'
:
False
},
'username'
:
{
'default'
:
''
,
'required'
:
False
},
'password'
:
{
'write_only'
:
True
},
'password'
:
{
'write_only'
:
True
},
'app_display'
:
{
'label'
:
_
(
'Application display'
)}
'app_display'
:
{
'label'
:
_
(
'Application display'
)},
'systemuser_display'
:
{
'label'
:
_
(
'System User'
)}
}
}
use_model_bulk_create
=
True
use_model_bulk_create
=
True
model_bulk_create_kwargs
=
{
model_bulk_create_kwargs
=
{
...
@@ -134,4 +135,6 @@ class AppAccountSecretSerializer(AppAccountSerializer):
...
@@ -134,4 +135,6 @@ class AppAccountSecretSerializer(AppAccountSerializer):
'password'
:
{
'write_only'
:
False
},
'password'
:
{
'write_only'
:
False
},
'private_key'
:
{
'write_only'
:
False
},
'private_key'
:
{
'write_only'
:
False
},
'public_key'
:
{
'write_only'
:
False
},
'public_key'
:
{
'write_only'
:
False
},
'app_display'
:
{
'label'
:
_
(
'Application display'
)},
'systemuser_display'
:
{
'label'
:
_
(
'System User'
)}
}
}
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Projects
Groups
Snippets
Help