mirror of
https://github.com/ansible/awx.git
synced 2026-03-13 23:17:32 -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):
|
||||
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)
|
||||
|
||||
Reference in New Issue
Block a user