AaronCH5 opened a new issue #9320: Add Row Level Security to interact with Druid
URL: https://github.com/apache/incubator-superset/issues/9320
 
 
   ## [SIP] Proposal for Add Row Level Security to interact with Druid
   
   ### Motivation
   Currently Superset supports a lot of back-end storage, including 
   
   ### Proposed Change
   1. Based on version: 0.28.1
   2. A total of 4 files and a storage table are involved:
       a) superset / connectors / druid / models.py
       b) superset / connectors / druid / views.py
       c) superset / viz.py
       d) pydruid / utils / filters.py
       e) Table: row_level_security (role_id, datasource_id, column_value)
   3. The interface is as follows:
   [Module]:
   
![image](https://user-images.githubusercontent.com/24953071/76936546-1205bf00-692e-11ea-8f7e-a4dca0b2ba90.png)
   [List]:
   
![image](https://user-images.githubusercontent.com/24953071/76936605-2944ac80-692e-11ea-8581-be0905f4c171.png)
   [Add]:
   
![image](https://user-images.githubusercontent.com/24953071/76936631-3497d800-692e-11ea-9be4-d6e426958747.png)
   [Used]:
   
![image](https://user-images.githubusercontent.com/24953071/76936734-601ac280-692e-11ea-84eb-265ef7b43539.png)
   4. Description:
        a) models.py and views.py: for adding modules
        b) viz.py (query_obj): add row-level filtering permissions to the Druid 
json filter
        c) filters.py (__ init__): adjust the ordering problem in the bound case
   
   

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to