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:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to