Commit c8337a04 by Kálmán Viktor

dashboard: change interface remove level

parent b38f73a5
......@@ -2271,7 +2271,7 @@ class InterfaceDeleteView(DeleteView):
self.object = self.get_object()
instance = self.object.instance
if not instance.has_level(request.user, 'operator'):
if not instance.has_level(request.user, "owner"):
raise PermissionDenied()
instance.remove_interface(interface=self.object, user=request.user)
......
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