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

   <!-- Answer -->
   The 'Export to Excel' option is only shown if the embedded user's session 
actually has the 'can_csv' permission (which sets `supersetCanCSV` to true in 
the Redux store). There is no code that disables export just because the 
dashboard is embedded—if the permission is present, the option appears. 
   
   Please double-check that the embedded user (for example, the guest token or 
JWT used for embedding) has the 'can_csv' permission assigned in Superset. You 
can verify this by inspecting the Redux state in the embedded dashboard or by 
checking the `/api/v1/me/roles/` API response in the embedded context. If the 
permission is missing, update the role or token generation to include 
'can_csv'. If you are using feature flags for full export, also ensure 
`ALLOW_FULL_CSV_EXPORT` is enabled for full Excel/CSV export options. 
   
   If you see any errors or warnings in the browser console or Superset logs 
when loading the embedded dashboard, those could also help pinpoint permission 
or token issues. 
   
   Let me know how you are assigning the permission to the embedded 
user/session if you need more specific troubleshooting!
   
   
   <!-- Dosu Comment Footer -->
   *To reply, just mention [@dosu](https://go.dosu.dev/dosubot).*
   
   ---
   <sup>How did I do? 
[Good](https://app.dosu.dev/response-feedback/7efa5c8e-21ea-43d2-9b56-b2d505661a4b?feedback_type=great_response)
 | 
[Irrelevant](https://app.dosu.dev/response-feedback/7efa5c8e-21ea-43d2-9b56-b2d505661a4b?feedback_type=irrelevant_answer)
 | 
[Incorrect](https://app.dosu.dev/response-feedback/7efa5c8e-21ea-43d2-9b56-b2d505661a4b?feedback_type=incorrect_sources)
 | 
[Verbose](https://app.dosu.dev/response-feedback/7efa5c8e-21ea-43d2-9b56-b2d505661a4b?feedback_type=too_verbose)
 | 
[Hallucination](https://app.dosu.dev/response-feedback/7efa5c8e-21ea-43d2-9b56-b2d505661a4b?feedback_type=hallucination)
 | [Report 
🐛](https://app.dosu.dev/response-feedback/7efa5c8e-21ea-43d2-9b56-b2d505661a4b?feedback_type=bug_report)
 | 
[Other](https://app.dosu.dev/response-feedback/7efa5c8e-21ea-43d2-9b56-b2d505661a4b?feedback_type=other)</sup>&nbsp;&nbsp;[![Chat
 with 
Dosu](https://dosu.dev/dosu-chat-badge.svg)](https://app.dosu.dev/a28d3c7e-a9d3-459e-9fb6-3a6f9ff4f357/ask?utm_source=githu
 b)&nbsp;[![Join 
Discord](https://img.shields.io/badge/join-5865F2?logo=discord&logoColor=white&label=)](https://go.dosu.dev/discord-bot)&nbsp;[![Share
 on 
X](https://img.shields.io/badge/X-share-black)](https://twitter.com/intent/tweet?text=%40dosu_ai%20helped%20me%20solve%20this%20issue!&url=https%3A//github.com/apache/superset/issues/35052)


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to