diff --git a/apps/common/auth/constants/permission_constants.py b/apps/common/auth/constants/permission_constants.py index ae6d7d48d08..35be98876d6 100644 --- a/apps/common/auth/constants/permission_constants.py +++ b/apps/common/auth/constants/permission_constants.py @@ -2146,12 +2146,16 @@ class PermissionConstants(Enum): PORTAL_READ = ( Permission(group=Group.PORTAL, sub_group=Group.PORTAL, operate=Operate.READ, bit_index=0), - PermissionMeta(role_list=[RoleConstants.ADMIN], scope=[PermissionScopeConstants.SYSTEM]), + PermissionMeta( + role_list=[RoleConstants.ADMIN], category=Category.CHAT_CLIENT, scope=[PermissionScopeConstants.SYSTEM] + ), ) PORTAL_EDIT = ( - Permission(group=Group.PORTAL, sub_group=Group.PORTAL, operate=Operate.EDIT, bit_index=0), - PermissionMeta(role_list=[RoleConstants.ADMIN], scope=[PermissionScopeConstants.SYSTEM]), + Permission(group=Group.PORTAL, sub_group=Group.PORTAL, operate=Operate.EDIT, bit_index=1), + PermissionMeta( + role_list=[RoleConstants.ADMIN], category=Category.CHAT_CLIENT, scope=[PermissionScopeConstants.SYSTEM] + ), ) # ==================== 共享工具 ==================== diff --git a/apps/locales/en_US/LC_MESSAGES/django.po b/apps/locales/en_US/LC_MESSAGES/django.po index d378c1cb467..a33e7edf1a9 100644 --- a/apps/locales/en_US/LC_MESSAGES/django.po +++ b/apps/locales/en_US/LC_MESSAGES/django.po @@ -9522,6 +9522,9 @@ msgstr "" msgid "Portal" msgstr "" +msgid "Portal Setting" +msgstr "Portal Setting" + msgid "Portal configuration does not exist" msgstr "" diff --git a/apps/locales/zh_CN/LC_MESSAGES/django.po b/apps/locales/zh_CN/LC_MESSAGES/django.po index ef331004395..bb79b3a1674 100644 --- a/apps/locales/zh_CN/LC_MESSAGES/django.po +++ b/apps/locales/zh_CN/LC_MESSAGES/django.po @@ -9662,6 +9662,9 @@ msgstr "保存门户配置" msgid "Portal" msgstr "门户" +msgid "Portal Setting" +msgstr "门户设置" + msgid "Portal configuration does not exist" msgstr "门户配置不存在" diff --git a/apps/locales/zh_Hant/LC_MESSAGES/django.po b/apps/locales/zh_Hant/LC_MESSAGES/django.po index 2a57279147e..bfe0860ea76 100644 --- a/apps/locales/zh_Hant/LC_MESSAGES/django.po +++ b/apps/locales/zh_Hant/LC_MESSAGES/django.po @@ -9662,6 +9662,9 @@ msgstr "儲存門戶配置" msgid "Portal" msgstr "門戶" +msgid "Portal Setting" +msgstr "門戶設置" + msgid "Portal configuration does not exist" msgstr "門戶配置不存在"