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 2019/04/09 21:50:32 UTC
[GitHub] [incubator-superset] mistercrunch commented on issue #7234: Adding
permission for can_only_access_owned_queries
mistercrunch commented on issue #7234: Adding permission for can_only_access_owned_queries
URL: https://github.com/apache/incubator-superset/pull/7234#issuecomment-481453394
Can you create the perm under the `QueryView` view menu? Here are the existing ones that FAB maintains:
<img width="437" alt="Screen Shot 2019-04-09 at 2 47 53 PM" src="https://user-images.githubusercontent.com/487433/55837579-a76dc180-5ad6-11e9-9367-2a3b182eeea8.png">
For reference:
```sql
SELECT B.name as view_menu, C.name as permission
FROM ab_permission_view A
JOIN ab_view_menu B on B.id = A.view_menu_id
JOIN ab_permission C on C.id = A.permission_id
WHERE B.name = 'QueryView'
```
----------------------------------------------------------------
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
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org