Merge pull request #2762 from jumpserver/dev

[Bugfix] 修复RemoteApp用户列表显示Bug (#2761)
pull/2790/head^2
BaiJiangJie 6 years ago committed by GitHub
commit 0e377cd0e9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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)

Loading…
Cancel
Save