2
0
mirror of https://github.com/xcat2/confluent.git synced 2025-01-15 12:17:47 +00:00

Fix super unix socket access to work

When root or the process owner comes into unix socket, they should
be treated as always authorized.
This commit is contained in:
Jarrod Johnson 2014-02-10 09:19:22 -05:00
parent 563a96f87f
commit fe81465d23

View File

@ -43,6 +43,7 @@ class ClientConsole(object):
def sessionhdl(connection, authname):
# For now, trying to test the console stuff, so let's just do n4.
authenticated = False
authdata = None
if authname and isinstance(authname, bool):
authenticated = True
cfm = configmanager.ConfigManager(tenant=None)