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 2021/06/25 08:16:32 UTC

[GitHub] [superset] layasail commented on issue #15251: row level security rule not working in sql lab

layasail commented on issue #15251:
URL: https://github.com/apache/superset/issues/15251#issuecomment-868313263


   Hi, thanks for reply.
   Here is the setting:
   1.superset version: Version: 0.999.0dev,  this is the latest version in docker shows
   ![image](https://user-images.githubusercontent.com/84129749/123392891-23795480-d5d0-11eb-9fff-9ea009b695a5.png)
   
   2.filter in row level security:`name=Aaron` to the role "sqllab test"
   ![image](https://user-images.githubusercontent.com/84129749/123393017-4572d700-d5d0-11eb-9182-1d1468ae06e9.png)
   
   
   3.role:copy from "sqllab" role name as "sqllab test", added the dataset/datasource/table access to table:birth_name
   user assigned to this role
   4.query sample as below:
   expected result: shows only the name=Aaron record
   result still contain Aaron
   ![image](https://user-images.githubusercontent.com/84129749/123393406-a6021400-d5d0-11eb-95fb-f967c4ba170c.png)
   
   
   


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



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