mirror of
https://github.com/ansible/awx.git
synced 2026-05-12 11:57:37 -02:30
Fix a small bug related to return state when determining valid user on
the socket io service
This commit is contained in:
@@ -84,7 +84,7 @@ class JobEventNamespace(TowerBaseNamespace):
|
|||||||
|
|
||||||
def get_initial_acl(self):
|
def get_initial_acl(self):
|
||||||
valid_user = self.valid_user()
|
valid_user = self.valid_user()
|
||||||
if valid_user is None:
|
if valid_user is None or valid_user is False:
|
||||||
return set()
|
return set()
|
||||||
else:
|
else:
|
||||||
user_jobs = get_user_queryset(valid_user, Job).filter(finished__isnull=True)
|
user_jobs = get_user_queryset(valid_user, Job).filter(finished__isnull=True)
|
||||||
|
|||||||
Reference in New Issue
Block a user