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/02/19 15:24:04 UTC

[GitHub] [superset] userguy opened a new issue #13236: Actual time range Access is Denied

userguy opened a new issue #13236:
URL: https://github.com/apache/superset/issues/13236


   I am getting Access is Denied in Time Range . 
   
   Actual time range
   Access is Denied and Not able to apply the time selected . 
   
   GET /api/v1/time_range/?q=%27DATEADD(DATETIME(%222021-02-19T00:00:00%22),%20-7,%20day)%20:%202021-02-19T00:00:00%27 HTTP/1.1" 401 -
   
   INFO:werkzeug:10.25.210.220 - - [19/Feb/2021 20:45:53] "GET /api/v1/time_range/?q=%27DATEADD(DATETIME(%222021-02-19T00:00:00%22),%20-7,%20day)%20:%202021-02-19T00:00:00%27 HTTP/1.1" 401 -
   INFO:werkzeug:10.25.210.220 - - [19/Feb/2021 20:48:20] "GET /api/v1/time_range/?q=%27previous%20calendar%20week%27 HTTP/1.1" 401 -
   INFO:werkzeug:10.25.210.220 - - [19/Feb/2021 20:48:22] "GET /api/v1/time_range/?q=%27Last%20week%27 HTTP/1.1" 401 -
   INFO:werkzeug:10.25.210.220 - - [19/Feb/2021 20:48:24] "GET /api/v1/time_range/?q=%27Last%20month%27 HTTP/1.1" 401 -
   
   
   DB connection is mariadb . Works fine with 0.38
   
   ![image](https://user-images.githubusercontent.com/11783537/108523981-90b06c80-72f4-11eb-9584-863a327349d5.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] fccoelho commented on issue #13236: Actual time range Access is Denied

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


   > We had same issue for some user roles and solved it by adding `can time range on Api` permission
   > 
   > version: 1.1.0
   
   This permission is not available on 1.2 in the role configuration dialog


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

To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org

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] junlincc edited a comment on issue #13236: Actual time range Access is Denied

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


   @userguy I believe 0.38 was the old time picker right? 
   
   cc @zhaoyongjie 
   confirmed actual time range is working properly on the main dbs. 


----------------------------------------------------------------
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] junlincc commented on issue #13236: Actual time range Access is Denied

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


   @userguy I believe 0.38 was the old time picker right? 
   confirmed actual time range is working properly on the main dbs. 


----------------------------------------------------------------
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] iercan commented on issue #13236: Actual time range Access is Denied

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


   We had same issue for some user roles and solved it by adding `can time range on Api` permission
   
   version: 1.1.0


-- 
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] fccoelho commented on issue #13236: Actual time range Access is Denied

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


   I did run it, and it did solve the problem. Thank you.
   


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

To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org

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] zhaoyongjie commented on issue #13236: Actual time range Access is Denied

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


   > > We had same issue for some user roles and solved it by adding `can time range on Api` permission
   > > version: 1.1.0
   > 
   > This permission is not available on 1.2 in the role configuration dialog
   
   Could you try to run `superset init`?


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

To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org

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] userguy closed issue #13236: Actual time range Access is Denied

Posted by GitBox <gi...@apache.org>.
userguy closed issue #13236:
URL: https://github.com/apache/superset/issues/13236


   


----------------------------------------------------------------
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] userguy commented on issue #13236: Actual time range Access is Denied

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


   So i figured out , what was causing it , I think there was older version of superset which was previously running on the machine . I remove the superset.db and did user and init step again and that solved the problem . 
   
   Thanks 


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