Commit 45f1d0df by Kálmán Viktor

dashboard: fix vm activity

parent 909f6f1c
......@@ -364,6 +364,7 @@ def mass_delete_vm(request, **kwargs):
def vm_activity(request, pk):
object = Instance.objects.get(pk=pk)
if not object.has_level(request.user, 'owner'):
raise PermissionDenied()
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