From 91110e02a83a4ff01836f0265f8887caff3a361a Mon Sep 17 00:00:00 2001 From: Rick Elrod Date: Tue, 4 Jun 2024 18:20:44 +0200 Subject: [PATCH] Nix RBAC thing since we aren't using it right now Signed-off-by: Rick Elrod --- ansible_base/oauth2_provider/views/application.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/ansible_base/oauth2_provider/views/application.py b/ansible_base/oauth2_provider/views/application.py index bdb3bcd3b..e7cc70989 100644 --- a/ansible_base/oauth2_provider/views/application.py +++ b/ansible_base/oauth2_provider/views/application.py @@ -10,6 +10,3 @@ class OAuth2ApplicationViewSet(AnsibleBaseDjangoAppApiView, ModelViewSet): queryset = OAuth2Application.objects.all() serializer_class = OAuth2ApplicationSerializer permission_classes = [IsSuperuser] - - def filter_queryset(self, queryset): - return super().filter_queryset(OAuth2Application.access_qs(self.request.user, queryset=queryset))