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