dosubot[bot] commented on issue #30005:
URL: https://github.com/apache/superset/issues/30005#issuecomment-2306822046

   <!-- Answer -->
   The issue you're encountering is likely due to missing permissions for the 
"can time range on Api" feature. This permission is required for users to 
access the `time_range` method in the API, which is essential for handling 
custom filters. Without this permission, the system redirects the user to the 
login page.
   
   To resolve this, ensure that the user has the necessary permissions. The 
"can time range on Api" permission is available to users with the Admin, Alpha, 
and Gamma roles, but not to users with the SQL_LAB role 
<sup>[[1]](https://github.com/apache/superset/blob/master/superset/views/api.py)</sup><sup>[[2]](https://github.com/apache/superset/blob/master/RESOURCES/STANDARD_ROLES.md)</sup>.
   
   You can assign the appropriate role to the user or explicitly grant the "can 
time range on Api" permission to their current role.
   
   
   <!-- Dosu Comment Footer -->
   *To continue talking to [Dosu](https://dosu.dev), mention @dosu.*
   


-- 
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-unsubscr...@superset.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


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

Reply via email to