Commit 9a3065ad authored by BaiJiangJie's avatar BaiJiangJie

[Bugfix] 会话/命令列表中获取用户列表排除app用户

parent 79554b47
......@@ -13,7 +13,7 @@ def get_session_asset_list():
def get_session_user_list():
return User.objects.values_list('username', flat=True)
return User.objects.exclude(role=User.ROLE_APP).values_list('username', flat=True)
def get_session_system_user_list():
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment