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

   <!-- Answer -->
   The "Embed dashboard" option only appears if both the `EMBEDDED_SUPERSET` 
feature flag is enabled and the user has the `can_set_embedded` permission on 
the Dashboard. Even with admin rights, this permission may not be present by 
default in all roles or custom configurations. The menu item is also only 
visible when not in edit mode. The `GUEST_TOKEN` flag is not required for the 
menu to show—it is used for authentication flows, not UI visibility.
   
   To resolve this, check that your user or role has the `can_set_embedded` 
permission for the Dashboard model. You can do this in Security > List Roles, 
then edit your role and ensure `can_set_embedded` under the Dashboard 
permissions is enabled. Once this is set and `EMBEDDED_SUPERSET` is true, the 
option should appear in the dashboard menu when not in edit mode  
   
([source](https://github.com/apache/superset/blob/b00660acf13e8bb99ba22d61636a793eae0867a9/superset-frontend/src/dashboard/components/Header/index.jsx),
 
[source](https://github.com/apache/superset/blob/b00660acf13e8bb99ba22d61636a793eae0867a9/superset-frontend/src/dashboard/components/Header/useHeaderActionsDropdownMenu.tsx)).
   
   
   <!-- 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/02281109-805c-451a-93d1-0d3ee8696ce3?feedback_type=great_response)
 | 
[Irrelevant](https://app.dosu.dev/response-feedback/02281109-805c-451a-93d1-0d3ee8696ce3?feedback_type=irrelevant_answer)
 | 
[Incorrect](https://app.dosu.dev/response-feedback/02281109-805c-451a-93d1-0d3ee8696ce3?feedback_type=incorrect_sources)
 | 
[Verbose](https://app.dosu.dev/response-feedback/02281109-805c-451a-93d1-0d3ee8696ce3?feedback_type=too_verbose)
 | 
[Hallucination](https://app.dosu.dev/response-feedback/02281109-805c-451a-93d1-0d3ee8696ce3?feedback_type=hallucination)
 | [Report 
🐛](https://app.dosu.dev/response-feedback/02281109-805c-451a-93d1-0d3ee8696ce3?feedback_type=bug_report)
 | 
[Other](https://app.dosu.dev/response-feedback/02281109-805c-451a-93d1-0d3ee8696ce3?feedback_type=other)</sup>&nbsp;&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/33702)


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