Commit d6f8ae38 by Bach Dániel

Merge branch 'fix-connect-button' into 'master'

Fix Connect Button
parents 0c2709fa a5867cdc
......@@ -1210,7 +1210,7 @@ class ClientCheck(LoginRequiredMixin, TemplateView):
'instance': get_object_or_404(
Instance, pk=self.request.GET.get('vm')),
})
if not context['instance'].has_level(self.request.user, 'operator'):
if not context['instance'].has_level(self.request.user, 'user'):
raise PermissionDenied()
return context
......
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 sign in to comment