You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@superset.apache.org by GitBox <gi...@apache.org> on 2018/04/08 08:58:20 UTC

[GitHub] afullana commented on issue #4743: New Feature: Dynamic Filtering Based on User

afullana commented on issue #4743: New Feature: Dynamic Filtering Based on User
URL: https://github.com/apache/incubator-superset/issues/4743#issuecomment-379533296
 
 
   Currently this can be done using a macro Jinja in the custom WHERE clause.
   
   This is an example, put in Custom WHERE clause 
   ```
   name = '{{current_user_id()}}'
   ```
   and the resulting query will be:
   ```
   where name = 'admin'.
   ```
   Obviously it would be much clearer to have a direct option in the filters 
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services