mirror of
https://github.com/ansible/awx.git
synced 2026-07-09 15:28:05 -02:30
Work on AC-205. Update display of extra events triggered by async polling.
This commit is contained in:
@@ -898,8 +898,10 @@ class JobEventAccess(BaseAccess):
|
||||
return qs
|
||||
job_qs = self.user.get_queryset(Job)
|
||||
host_qs = self.user.get_queryset(Host)
|
||||
return qs.filter(Q(host__isnull=True) | Q(host__in=host_qs),
|
||||
job__in=job_qs)
|
||||
qs = qs.filter(Q(host__isnull=True) | Q(host__in=host_qs),
|
||||
job__in=job_qs)
|
||||
# FIXME: Filter certain extra events from async polling?
|
||||
return qs
|
||||
|
||||
def can_add(self, data):
|
||||
return False
|
||||
|
||||
Reference in New Issue
Block a user