mirror of
https://github.com/jumpserver/jumpserver.git
synced 2025-09-05 17:30:30 +00:00
perf: 修改 i18n (#7904)
* perf: some perm to xpack * perf: 修改 i18n * perf: 修改 i18n * perf: 修改 i18n Co-authored-by: ibuler <ibuler@qq.com> Co-authored-by: Jiangjie.Bai <32935519+BaiJiangJie@users.noreply.github.com>
This commit is contained in:
@@ -320,7 +320,7 @@ class PermissionTreeUtil:
|
||||
if not self._check_model_xpack(model_id):
|
||||
continue
|
||||
title = p.app_label_codename
|
||||
if title in xpack_nodes:
|
||||
if not settings.XPACK_ENABLED and title in xpack_nodes:
|
||||
continue
|
||||
|
||||
# name 要特殊处理,解决 i18n 问题
|
||||
|
Reference in New Issue
Block a user