mirror of
https://github.com/ansible/awx.git
synced 2026-02-24 06:26:00 -03:30
remove facts_latest in favor of ansible_facts
* Closer align our facts data structure with ansible facts data structure for purposes of ... wait for it ... 2-way fact caching
This commit is contained in:
@@ -2274,14 +2274,6 @@ class RoleAccess(BaseAccess):
|
||||
return False
|
||||
|
||||
|
||||
class FactLatestAccess(BaseAccess):
|
||||
|
||||
model = FactLatest
|
||||
|
||||
def get_queryset(self):
|
||||
return FactLatest.objects.distinct()
|
||||
|
||||
|
||||
register_access(User, UserAccess)
|
||||
register_access(Organization, OrganizationAccess)
|
||||
register_access(Inventory, InventoryAccess)
|
||||
@@ -2314,4 +2306,3 @@ register_access(WorkflowJobTemplateNode, WorkflowJobTemplateNodeAccess)
|
||||
register_access(WorkflowJobNode, WorkflowJobNodeAccess)
|
||||
register_access(WorkflowJobTemplate, WorkflowJobTemplateAccess)
|
||||
register_access(WorkflowJob, WorkflowJobAccess)
|
||||
register_access(FactLatest, FactLatestAccess)
|
||||
|
||||
Reference in New Issue
Block a user