Merge pull request #2762 from jumpserver/dev

[Bugfix] 修复RemoteApp用户列表显示Bug (#2761)
This commit is contained in:
BaiJiangJie
2019-05-31 10:40:51 +08:00
committed by GitHub

View File

@@ -102,10 +102,10 @@ class RemoteAppPermissionUserView(AdminUserRequiredMixin,
'app': _('Perms'),
'action': _('RemoteApp permission user list'),
'users_remain': current_org.get_org_users().exclude(
remoteapppermissions=self.object
remoteapppermission=self.object
),
'user_groups_remain': UserGroup.objects.exclude(
remoteapppermissions=self.object
remoteapppermission=self.object
)
}
kwargs.update(context)