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 2022/07/08 14:08:26 UTC

[GitHub] [superset] ficapal18 opened a new issue, #20654: Access is denied for some charts in an embedded dashboard

ficapal18 opened a new issue, #20654:
URL: https://github.com/apache/superset/issues/20654

   We are building an AI cognitive tool for personalized medicine in cancer, and we would like to have an analytics dashboard in it.
   
   For this reason, we embedded a Superset dashboard in the tool. So far, we are very satisfied with the outcomes and how the dashboard fits in the tool. We are close to make it work, but we require the help from an expert in Superset that can help us with the following problem:
   
   Some charts in the dashboard return an "Access is Denied" error and are not shown. However, the other charts are correctly displayed. We already granted owner access to the "public" account to the dashboard, which is the one used to access an embedded dashboard. Surprisingly, when the dashboard is visualized by an admin account on the superset platform, without being embedded in our tool, all the charts are displayed and there's not such error.
   
   Any ideas on what is happening? 
   
   
   ### Environment
   
   - superset version: apache/superset:1.5.1
   - any feature flags active:  
   "EMBEDDED_SUPERSET":True,
   "DASHBOARD_CROSS_FILTER":True,
   "DASHBOARD_CROSS_FILTERS":True,
   "DASHBOARD_NATIVE_FILTERS_SET":True,
   "DASHBOARD_RBAC":True,
   "DASHBOARD_FILTERS_EXPERIMENTAL" :True,
   "ENABLE_TEMPLATE_PROCESSING": True
   
   


-- 
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.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] Griffith88 commented on issue #20654: Access is denied for some charts in an embedded dashboard

Posted by "Griffith88 (via GitHub)" <gi...@apache.org>.
Griffith88 commented on issue #20654:
URL: https://github.com/apache/superset/issues/20654#issuecomment-1719286977

   Hi i have similar problem with public (no login) access to dashboards
   I created role Guest and added in superset_config.py
   ![image](https://github.com/apache/superset/assets/42404689/fb9f8e77-6a3e-44e6-b859-b352dfe2a1a9)
   
   
   ```py
   PUBLIC_ROLE_LIKE = "Guest"
   
   DEFAULT_FEATURE_FLAGS = {
       "DASHBOARD_RBAC": True,
       "ENABLE_TEMPLATE_PROCESSING": True,
       "DASHBOARD_NATIVE_FILTERS": True,
       "DASHBOARD_CROSS_FILTERS": True
   }
   ```
   when i publish and share via link any embedded dashboard or chart i get Access is Denied and its redirect me on Log In Page.
   
   Any suggestions how to evade it ?
   
    


-- 
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] Jaykin001 commented on issue #20654: Access is denied for some charts in an embedded dashboard

Posted by "Jaykin001 (via GitHub)" <gi...@apache.org>.
Jaykin001 commented on issue #20654:
URL: https://github.com/apache/superset/issues/20654#issuecomment-1669365302

   i am getting this error when i am trying to drill to detail on the map on embedded dashboard 
   
   


-- 
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] Griffith88 commented on issue #20654: Access is denied for some charts in an embedded dashboard

Posted by "Griffith88 (via GitHub)" <gi...@apache.org>.
Griffith88 commented on issue #20654:
URL: https://github.com/apache/superset/issues/20654#issuecomment-1725513514

   i found a solution for myself and posted it in my discussion https://github.com/apache/superset/discussions/25299


-- 
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] catherinetrn commented on issue #20654: Access is denied for some charts in an embedded dashboard

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

   I just had the same issue today. In my case, only bar charts where the x-axis is a category and not a date/time gave me an `Access Denied`. While inspecting the network calls in chrome I find out that it was the `explore_json` endpoint that returned 403 so I added to the role I use for embed the right `can explore json on Superset`. 
   
   I hope it helps :) 


-- 
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] lucasfernando commented on issue #20654: Access is denied for some charts in an embedded dashboard

Posted by "lucasfernando (via GitHub)" <gi...@apache.org>.
lucasfernando commented on issue #20654:
URL: https://github.com/apache/superset/issues/20654#issuecomment-1701120543

   I just added "can log on Superset" permission to **Public** role and that solved the problem for me.


-- 
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] perfectayush commented on issue #20654: Access is denied for some charts in an embedded dashboard

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

   > I just had the same issue today. In my case, only bar charts where the x-axis is a category and not a date/time gave me an `Access Denied`. While inspecting the network calls in chrome I find out that it was the `explore_json` endpoint that returned 403 so I added to the role I use for embed the right `can explore json on Superset`.
   > 
   > I hope it helps :)
   
   Same on 1.4.2. I was getting 401 for some `explore_json` calls for some charts. Weirdly this API is not hit for every chart in dashboard but for select few. Added `can explore json on Superset` for the required role and it's working now.
   
   Thanks @catherinetrn 
   
   


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


Re: [I] Access is denied for some charts in an embedded dashboard [superset]

Posted by "rusackas (via GitHub)" <gi...@apache.org>.
rusackas commented on issue #20654:
URL: https://github.com/apache/superset/issues/20654#issuecomment-2005110722

   I'm hopeful that the solutions above panned out, and that's why this thread has gone quiet. We're no longer supporting Superset 2.x or prior, and since it's been a while since this thread saw any activity, I'll close this as stale. If it is still an issue in Superset 3.x or newer, we can re-open this, or feel free to open a new issue with updated context. 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.

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] Griffith88 commented on issue #20654: Access is denied for some charts in an embedded dashboard

Posted by "Griffith88 (via GitHub)" <gi...@apache.org>.
Griffith88 commented on issue #20654:
URL: https://github.com/apache/superset/issues/20654#issuecomment-1725519293

   Embedded dashboards without URL SLUG will not be opened


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


Re: [I] Access is denied for some charts in an embedded dashboard [superset]

Posted by "rusackas (via GitHub)" <gi...@apache.org>.
rusackas closed issue #20654: Access is denied for some charts in an embedded dashboard
URL: https://github.com/apache/superset/issues/20654


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