mirror of https://github.com/jumpserver/jumpserver
fix: 修复用户列表出现服务账号的问题
parent
add4d8d2cd
commit
291f2b0e13
|
@ -341,7 +341,7 @@ class RoleMixin:
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
def get_org_users(cls, org=None):
|
def get_org_users(cls, org=None):
|
||||||
queryset = cls.objects.all()
|
queryset = cls.get_nature_users()
|
||||||
if org is None:
|
if org is None:
|
||||||
org = current_org
|
org = current_org
|
||||||
if not org.is_root():
|
if not org.is_root():
|
||||||
|
|
Loading…
Reference in New Issue