diff options
author | Alan Rominger <arominge@redhat.com> | 2024-04-05 16:25:29 +0200 |
---|---|---|
committer | Alan Rominger <arominge@redhat.com> | 2024-04-11 20:59:09 +0200 |
commit | a138a92e6765719973bb201086ab1c901e6dfc60 (patch) | |
tree | 8282c91b0aa73147fb02b818a96eb35267ecaebd | |
parent | Fix missing role membership when giving creator permissions (#15058) (diff) | |
download | awx-a138a92e6765719973bb201086ab1c901e6dfc60.tar.xz awx-a138a92e6765719973bb201086ab1c901e6dfc60.zip |
[RBAC] Tweaks to reflect what endpoints are deprecated (#15068)
Tweaks to reflect what endpoints are deprecated
-rw-r--r-- | awx/api/generics.py | 1 | ||||
-rw-r--r-- | awx/api/views/__init__.py | 1 |
2 files changed, 1 insertions, 1 deletions
diff --git a/awx/api/generics.py b/awx/api/generics.py index bc7ae2138d..f7c6803d74 100644 --- a/awx/api/generics.py +++ b/awx/api/generics.py @@ -800,6 +800,7 @@ class RetrieveUpdateDestroyAPIView(RetrieveUpdateAPIView, DestroyAPIView): class ResourceAccessList(ParentMixin, ListAPIView): + deprecated = True serializer_class = ResourceAccessListElementSerializer ordering = ('username',) diff --git a/awx/api/views/__init__.py b/awx/api/views/__init__.py index 944f982a4d..ce2810129a 100644 --- a/awx/api/views/__init__.py +++ b/awx/api/views/__init__.py @@ -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() |