[RBAC] Tweaks to reflect what endpoints are deprecated (#15068)

Tweaks to reflect what endpoints are deprecated
This commit is contained in:
Alan Rominger 2024-04-05 10:25:29 -04:00
parent 7aed19ffda
commit a138a92e67
2 changed files with 1 additions and 1 deletions

View File

@ -800,6 +800,7 @@ class RetrieveUpdateDestroyAPIView(RetrieveUpdateAPIView, DestroyAPIView):
class ResourceAccessList(ParentMixin, ListAPIView):
deprecated = True
serializer_class = ResourceAccessListElementSerializer
ordering = ('username',)

View File

@ -545,7 +545,6 @@ class InstanceGroupObjectRolesList(SubListAPIView):
serializer_class = serializers.RoleSerializer
parent_model = models.InstanceGroup
search_fields = ('role_field', 'content_type__model')
deprecated = True
def get_queryset(self):
po = self.get_parent_object()