Skip to content

Commit

Permalink
Viewset shim required by pulpcore
Browse files Browse the repository at this point in the history
Issue: AAH-1093
  • Loading branch information
bmclaughlin committed Feb 14, 2022
1 parent be78cc1 commit ced1f82
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions galaxy_ng/app/viewsets.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,3 +46,12 @@ class ContentRedirectContentGuardViewSet(
):
queryset = models.ContentRedirectContentGuard.objects.all()
endpoint_name = "contentgaurd"


class AuthViewSet(
pulp_viewsets.NamedModelViewSet,
mixins.RetrieveModelMixin,
mixins.DestroyModelMixin,
):
queryset = models.auth.Group.objects.all()
endpoint_name = "auth"

0 comments on commit ced1f82

Please sign in to comment.