Skip to content

Commit

Permalink
Fixes #522: Remove obsolete check for staff status when bulk deleting…
Browse files Browse the repository at this point in the history
… objects
  • Loading branch information
jeremystretch committed Sep 12, 2016
1 parent 99510a9 commit 37e0388
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions netbox/utilities/views.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
from django_tables2 import RequestConfig

from django.contrib import messages
from django.contrib.admin.views.decorators import staff_member_required
from django.contrib.contenttypes.models import ContentType
from django.core.exceptions import ImproperlyConfigured
from django.core.urlresolvers import reverse
Expand Down Expand Up @@ -381,10 +380,6 @@ class BulkDeleteView(View):
template_name = 'utilities/confirm_bulk_delete.html'
default_redirect_url = None

@method_decorator(staff_member_required)
def dispatch(self, *args, **kwargs):
return super(BulkDeleteView, self).dispatch(*args, **kwargs)

def post(self, request, *args, **kwargs):

# Attempt to derive parent object if a parent class has been given
Expand Down

0 comments on commit 37e0388

Please sign in to comment.