mistercrunch commented on issue #29171:
URL: https://github.com/apache/superset/issues/29171#issuecomment-2542102871

   Pointers to relevant code -> 
   - parsing SQL -> 
https://github.com/apache/superset/blob/master/superset/sql/parse.py#L161
   - potential area to implement the feature flag / logic -> 
https://github.com/apache/superset/blob/master/superset/sql_lab.py#L211-L250, 
here I'd recommend factoring out some sort of `validate` or 
`check_data_access_permissions` method and putting it in the right place, maybe 
could live in the `SecurityManager` so that people could implement their own 
logic


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