fix: 修复获取组织用户

pull/8097/head
Jiangjie.Bai 2022-04-19 18:06:52 +08:00 committed by Jiangjie.Bai
parent 0addba7c14
commit f026b86a20
1 changed files with 1 additions and 1 deletions

View File

@ -455,7 +455,7 @@ class RoleMixin:
if org is None:
org = current_org
if not org.is_root():
queryset = current_org.get_members()
queryset = org.get_members()
queryset = cls.filter_not_service_account(queryset)
return queryset