mirror of
https://github.com/ansible/awx.git
synced 2026-03-08 21:19:26 -02:30
inventory exec role changed to use
This commit is contained in:
@@ -1483,7 +1483,7 @@ class InventoryList(ListCreateAPIView):
|
||||
|
||||
def get_queryset(self):
|
||||
qs = Inventory.accessible_objects(self.request.user, 'read_role')
|
||||
qs = qs.select_related('admin_role', 'read_role', 'update_role', 'execute_role')
|
||||
qs = qs.select_related('admin_role', 'read_role', 'update_role', 'use_role')
|
||||
return qs
|
||||
|
||||
class InventoryDetail(RetrieveUpdateDestroyAPIView):
|
||||
|
||||
Reference in New Issue
Block a user