mirror of
https://github.com/ansible/awx.git
synced 2026-01-17 04:31:21 -03:30
inventory exec role changed to use
This commit is contained in:
parent
df62b85a2f
commit
3f63172ac4
@ -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):
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user