Commit 58182712 authored by ibuler's avatar ibuler

Merge branch 'bugfix' of github.com:jumpserver/jumpserver into bugfix

parents 930eb1d2 98260b5b
......@@ -158,7 +158,7 @@ class UserGrantedAssetsApi(UserPermissionCacheMixin, AssetsFilterMixin, ListAPIV
system_user.actions = actions
system_users_granted.append(system_user)
asset.system_users_granted = system_users_granted
queryset.append(system_users_granted)
queryset.append(asset)
return queryset
def get_permissions(self):
......
......@@ -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