You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by GitBox <gi...@apache.org> on 2022/07/21 11:00:00 UTC

[GitHub] [superset] cwegener commented on issue #17187: [SIP-75] Proposal for Embeddable Dashboards

cwegener commented on issue #17187:
URL: https://github.com/apache/superset/issues/17187#issuecomment-1191345225

   > Could we filter embedded data by userid? I mean I would like to embed superset into my application and would like to display only data that are relative to the current login user.
   
   I think it should work by using Jinja templating. There is a `{{ current_user_id() }}` macro available which should work just fine with the Guest Token that is used by the Embedded dashboard. https://superset.apache.org/docs/installation/sql-templating


-- 
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: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org