summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlan Rominger <arominge@redhat.com>2024-04-05 16:25:29 +0200
committerAlan Rominger <arominge@redhat.com>2024-04-11 20:59:09 +0200
commita138a92e6765719973bb201086ab1c901e6dfc60 (patch)
tree8282c91b0aa73147fb02b818a96eb35267ecaebd
parentFix missing role membership when giving creator permissions (#15058) (diff)
downloadawx-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.py1
-rw-r--r--awx/api/views/__init__.py1
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()