This commit is contained in:
luoja 2025-02-07 15:46:30 +08:00
parent 49c53dc4f6
commit 9718e1776e
3 changed files with 5 additions and 2 deletions

View File

@ -10,7 +10,7 @@ def render():
fac.AntdResult(
status='403',
title='您没有权限访问该页面',
subTitle='访问,请联系系统管理员',
subTitle='访问,请联系系统管理员',
style={'paddingBottom': 0, 'paddingTop': 0},
),
fac.AntdButton(

View File

@ -789,7 +789,7 @@ def get_dict_group_name_users_roles(user_name) -> Dict[str, Union[str, Set]]:
def update_user_roles_from_group(user_name, group_name, roles_in_range):
"""团队授权页,更新用户权限"""
"""团队授权页,更新用户权限"""
is_ok = True
user_roles = set(get_roles_from_user_name(user_name, exclude_disabled=True))
roles_in_range = set(roles_in_range)

View File

@ -29,6 +29,9 @@
"用户管理": {
"en-us": "User Mgmt"
},
"团队授权": {
"en-us": "Group Auth"
},
"个人页": {
"en-us": "Person Page"
},