Skip to content

Commit

Permalink
Nix RBAC thing since we aren't using it right now
Browse files Browse the repository at this point in the history
Signed-off-by: Rick Elrod <[email protected]>
  • Loading branch information
relrod committed Jun 4, 2024
1 parent 4890a1b commit 91110e0
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions ansible_base/oauth2_provider/views/application.py
Original file line number Diff line number Diff line change
Expand Up @@ -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))

0 comments on commit 91110e0

Please sign in to comment.