rusackas commented on issue #37695:
URL: https://github.com/apache/superset/issues/37695#issuecomment-5124532550

   Sorry for the silence here. You're right that `current_user_roles()` doesn't 
solve this. That's session-scoped custom data, not something the security 
manager tracks. I don't have a clean answer for why the session doesn't 
populate when a chart is opened from SQL Lab specifically, that'd need someone 
to actually trace the request context differences between the two paths. Can 
you confirm this is still reproducing on a recent (6.x / master) build? If so 
I'll dig into whether SQL Lab's execution path is missing something the 
dashboard/chart path sets up.


-- 
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