mirror of
https://github.com/ansible/awx.git
synced 2026-01-22 15:08:03 -03:30
Removed accessible_objects filter from ActivityStream get_queryset
This commit is contained in:
parent
495b5b9341
commit
05b98d4904
@ -1261,7 +1261,7 @@ class ActivityStreamAccess(BaseAccess):
|
||||
model = ActivityStream
|
||||
|
||||
def get_queryset(self):
|
||||
qs = self.model.accessible_objects(self.user, {'read':True})
|
||||
qs = self.model.objects
|
||||
qs = qs.select_related('actor')
|
||||
qs = qs.prefetch_related('organization', 'user', 'inventory', 'host', 'group', 'inventory_source',
|
||||
'inventory_update', 'credential', 'team', 'project', 'project_update',
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user