rickysaltzer commented on issue #20455:
URL: https://github.com/apache/superset/issues/20455#issuecomment-1218132855

   Looking into this issue a bit further, and it appears that the issue is hit 
upon accessing the user from the SAM (not even setting). 
   
   ```python
   def DB_CONNECTION_MUTATOR(uri, params, username, security_manager, source):
       # The following just accesses the user from the SAM, but does not 
actually set it.
       # - the same behavior occurs if you access `g` directly. 
       accessing_user_tmp = security_manager.current_user.username
       return uri, params
   ```
   
   Resulting in:
   ```python
   '_AppCtxGlobals' object has no attribute 'user'
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to