Skip to content

Commit

Permalink
[req-changes] Removed permission_classes redefinition
Browse files Browse the repository at this point in the history
  • Loading branch information
Aryamanz29 committed Dec 14, 2022
1 parent 3bc76c8 commit 1bf0d5d
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions openwisp_ipam/api/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
FilterByParentManaged,
ProtectedAPIMixin as BaseProtectedAPIMixin,
)
from openwisp_users.api.permissions import IsOrganizationManager
from rest_framework import pagination, serializers, status
from rest_framework.generics import (
CreateAPIView,
Expand All @@ -20,7 +19,6 @@
RetrieveUpdateDestroyAPIView,
get_object_or_404,
)
from rest_framework.permissions import DjangoModelPermissions
from rest_framework.response import Response
from rest_framework.utils.urls import remove_query_param, replace_query_param

Expand All @@ -47,7 +45,6 @@ def get_parent_queryset(self):


class ProtectedAPIMixin(BaseProtectedAPIMixin):
permission_classes = [IsOrganizationManager, DjangoModelPermissions]
throttle_scope = 'ipam'


Expand Down

0 comments on commit 1bf0d5d

Please sign in to comment.