feat: update

parent 83c93560
...@@ -179,7 +179,10 @@ class ProxyNamespace(BaseNamespace): ...@@ -179,7 +179,10 @@ class ProxyNamespace(BaseNamespace):
return None return None
user_id = host.get('user', None) user_id = host.get('user', None)
logger.debug("self.current_user")
self.current_user = self.app.service.get_user_profile(user_id) self.current_user = self.app.service.get_user_profile(user_id)
logger.debug(self.current_user)
# { # {
# "user": {UUID}, # "user": {UUID},
# "asset": {UUID}, # "asset": {UUID},
......
...@@ -20,7 +20,7 @@ Jinja2==2.10 ...@@ -20,7 +20,7 @@ Jinja2==2.10
jmespath==0.9.3 jmespath==0.9.3
jms-es-sdk==0.5.2 jms-es-sdk==0.5.2
jms-storage==0.0.12 jms-storage==0.0.12
jumpserver-python-sdk==0.0.37 jumpserver-python-sdk==0.0.38
MarkupSafe==1.0 MarkupSafe==1.0
oss2==2.4.0 oss2==2.4.0
paramiko==2.4.0 paramiko==2.4.0
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment