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/18 20:59:05 UTC

[GitHub] [superset] layasail opened a new issue #15251: 容我

layasail opened a new issue #15251:
URL: https://github.com/apache/superset/issues/15251


   A clear and concise description of what the bug is.
   
   ### Expected results
   
   what you expected to happen.
   
   ### Actual results
   
   what actually happens.
   
   #### Screenshots
   
   If applicable, add screenshots to help explain your problem.
   
   #### How to reproduce the bug
   
   1. Go to '...'
   2. Click on '....'
   3. Scroll down to '....'
   4. See error
   
   ### Environment
   
   (please complete the following information):
   
   - superset version: `superset version`
   - python version: `python --version`
   - node.js version: `node -v`
   
   ### Checklist
   
   Make sure to follow these steps before submitting your issue - thank you!
   
   - [ ] I have checked the superset logs for python stacktraces and included it here as text if there are any.
   - [ ] I have reproduced the issue with at least the latest released version of superset.
   - [ ] I have checked the issue tracker for the same issue and I haven't found one similar.
   
   ### Additional context
   
   Add any other context about the problem here.
   


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


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

Posted by GitBox <gi...@apache.org>.
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


[GitHub] [superset] mayurnewase edited a comment on issue #15251: row level security rule not working in sql lab

Posted by GitBox <gi...@apache.org>.
mayurnewase edited a comment on issue #15251:
URL: https://github.com/apache/superset/issues/15251#issuecomment-868103126


   Hey @layasail can you provide more info (equivalent dummy) type of filter, query, table, role?
   It works in latest master as expected.


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


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

Posted by GitBox <gi...@apache.org>.
mayurnewase commented on issue #15251:
URL: https://github.com/apache/superset/issues/15251#issuecomment-868103126


   Hey @layasail can you provide more info (equivalent dummy) type of filter, query, table, role?
   I tried in latest master and  it works as expected.


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


[GitHub] [superset] mayurnewase edited a comment on issue #15251: row level security rule not working in sql lab

Posted by GitBox <gi...@apache.org>.
mayurnewase edited a comment on issue #15251:
URL: https://github.com/apache/superset/issues/15251#issuecomment-868103126


   Hey @layasail can you provide more info (equivalent dummy) type of filter, query, table, role, superset release version(0.999 is dummy I guess)?
   It works in latest master as expected.


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