mirror of
https://github.com/ansible/awx.git
synced 2026-05-13 12:27:37 -02:30
Allow recv_connect on the base socket namespace
This commit is contained in:
@@ -52,7 +52,7 @@ class TowerBaseNamespace(BaseNamespace):
|
|||||||
if len(valid_sockets) > 1000:
|
if len(valid_sockets) > 1000:
|
||||||
valid_sockets = valid_sockets[1:]
|
valid_sockets = valid_sockets[1:]
|
||||||
return set(['recv_connect'] + self.get_allowed_methods())
|
return set(['recv_connect'] + self.get_allowed_methods())
|
||||||
return set()
|
return set(['recv_connect'])
|
||||||
|
|
||||||
def valid_user(self):
|
def valid_user(self):
|
||||||
if 'HTTP_COOKIE' not in self.environ:
|
if 'HTTP_COOKIE' not in self.environ:
|
||||||
|
|||||||
Reference in New Issue
Block a user