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 2020/06/12 03:08:27 UTC

[GitHub] [incubator-superset] tong900801 opened a new issue #10044: Email report got `all_datasource_access` permission

tong900801 opened a new issue #10044:
URL: https://github.com/apache/incubator-superset/issues/10044


   Got "`all_datasource_access` permission" error when using email report sometimes.
    
   ### Expected results-can get this result sometimes
   <img width="1171" alt="邮件内页dash" src="https://user-images.githubusercontent.com/44745938/84460590-ee3be600-ac9c-11ea-8009-b36cc918af39.png">
   
   
   
   ### Actual results-got this result most time
   <img width="1169" alt="email error" src="https://user-images.githubusercontent.com/44745938/84458408-8767fe00-ac97-11ea-9117-9e65b346fbf1.png">
   
   
   what actually happens.
   
   #### Screenshots
   
   If applicable, add screenshots to help explain your problem.
   
   
   ### Description
   Completed email report settings, I can receive emails from superset, but inline content got lost usually, I can get right result(both inline and attachment), but always got inline picture with "`all_datasource_access` permission" error.
   
   in config.py, set as below
   EMAIL_REPORTS_USER ="admin"
   
   Why admin user don't have "`all_datasource_access` permission"? Thanks!
   
   (please complete the following information):
   
   - superset version: `0.999dev`
   - python version: `python --3.6.9`
   - node.js version: `node -v`
   - npm version: `npm -v`
   


----------------------------------------------------------------
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] [incubator-superset] tong900801 commented on issue #10044: Email report got `all_datasource_access` permission

Posted by GitBox <gi...@apache.org>.
tong900801 commented on issue #10044:
URL: https://github.com/apache/incubator-superset/issues/10044#issuecomment-646477977


   Hi bkyryliuk,
   
   Thank you for your response.
   I used the admin user,I suppose it should have all permissions.
   EMAIL_REPORTS_USER ="admin"
   
   Shall I create a new user with all permissions?
   
   Thanks a Lot


----------------------------------------------------------------
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] [incubator-superset] stale[bot] commented on issue #10044: Email report got `all_datasource_access` permission

Posted by GitBox <gi...@apache.org>.
stale[bot] commented on issue #10044:
URL: https://github.com/apache/incubator-superset/issues/10044#issuecomment-678677918


   This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. For admin, please label this issue `.pinned` to prevent stale bot from closing the issue.
   


----------------------------------------------------------------
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] [incubator-superset] tong900801 commented on issue #10044: Email report got `all_datasource_access` permission

Posted by GitBox <gi...@apache.org>.
tong900801 commented on issue #10044:
URL: https://github.com/apache/incubator-superset/issues/10044#issuecomment-647935766


   Checked. admin user has "all_datasource_access" permission, and the problem is I can get right dashboard email sometimes, but also got results with no permission error.


----------------------------------------------------------------
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] [incubator-superset] stale[bot] closed issue #10044: Email report got `all_datasource_access` permission

Posted by GitBox <gi...@apache.org>.
stale[bot] closed issue #10044:
URL: https://github.com/apache/incubator-superset/issues/10044


   


----------------------------------------------------------------
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] [incubator-superset] issue-label-bot[bot] commented on issue #10044: Email report got `all_datasource_access` permission

Posted by GitBox <gi...@apache.org>.
issue-label-bot[bot] commented on issue #10044:
URL: https://github.com/apache/incubator-superset/issues/10044#issuecomment-643039672


   Issue-Label Bot is automatically applying the label `#bug` to this issue, with a confidence of 0.73. Please mark this comment with :thumbsup: or :thumbsdown: to give our bot feedback! 
   
    Links: [app homepage](https://github.com/marketplace/issue-label-bot), [dashboard](https://mlbot.net/data/apache/incubator-superset) and [code](https://github.com/hamelsmu/MLapp) for this bot.


----------------------------------------------------------------
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] [incubator-superset] bkyryliuk commented on issue #10044: Email report got `all_datasource_access` permission

Posted by GitBox <gi...@apache.org>.
bkyryliuk commented on issue #10044:
URL: https://github.com/apache/incubator-superset/issues/10044#issuecomment-646885126


   double check if `admin` has enough permissions


----------------------------------------------------------------
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] [incubator-superset] bkyryliuk commented on issue #10044: Email report got `all_datasource_access` permission

Posted by GitBox <gi...@apache.org>.
bkyryliuk commented on issue #10044:
URL: https://github.com/apache/incubator-superset/issues/10044#issuecomment-645662106


   email reports are ran as specific user, looks like that user doesn't have some permissions


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