diff --git a/awx/main/access.py b/awx/main/access.py index 442cbcc895..3fd0ee0f0e 100644 --- a/awx/main/access.py +++ b/awx/main/access.py @@ -1221,8 +1221,9 @@ class JobAccess(BaseAccess): return True def can_change(self, obj, data): - return obj.status == 'new' and self.can_read(obj) and\ - self.can_add(data, validate_license=False) + return (obj.status == 'new' and + self.can_read(obj) and + self.can_add(data, validate_license=False)) @check_superuser def can_delete(self, obj):