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

   ### Bug description
   
   My superset instance is installed in a virtual environment (venv) inside WSL 
in Windows 11.
   I had the same setup but in a windows 10 machine as a host and didn't have 
this problem.
   
   I have set the necessary permissions for my user.
   
   I have set the required flags in both my custom superset_config.py file and 
my default config.py file as:
   ```
   EMBEDDED_SUPERSET: True
   EMBEDDABLE_CHARTS: True
   ```
   I have also tried
   ```
   FEATURE_FLAGS = { "EMBEDDED_SUPERSET": True,
                       "EMBEDDABLE_CHARTS": True }
   ```
   and it doesn't work. The embed dashboard button isn't visible.
   
   However, the 'share' options for Charts include an 'embed code' button.
   
   All the other configurations specified in the custom superset_config.py 
files are applied.
   
   ### How to reproduce the bug
   
   1. Add "EMBEDDED_SUPERSET: True
   EMBEDDABLE_CHARTS: True" to the superset_config.py file inside the app 
folder.
   2. Run superset with the command `superset run --debugger`.
   3. Login with an admin user.
   4. Check that the current user has the necessary permissions to embed 
dashboards
   5. Go to a dashboard.
   6. Click the options button in the top right corner.
   7. Embed dashboard button does not show.
   
   ### Screenshots/recordings
   
   ![Captura de pantalla 2024-05-14 
095511](https://github.com/apache/superset/assets/63685700/fd81f2a2-453f-463e-ae79-9585c4256ee0)
   ![Captura de pantalla 2024-05-14 
100229](https://github.com/apache/superset/assets/63685700/13a840d8-c792-4b33-b249-c9f259addf7c)
   ![Captura de pantalla 2024-05-14 
100929](https://github.com/apache/superset/assets/63685700/cee0ee3e-7198-4a6f-a6df-53458218e08d)
   
   
   ### Superset version
   
   4.0.1
   
   ### Python version
   
   3.10
   
   ### Node version
   
   18 or greater
   
   ### Browser
   
   Chrome
   
   ### Additional context
   
   _No response_
   
   ### Checklist
   
   - [X] I have searched Superset docs and Slack and didn't find a solution to 
my problem.
   - [X] I have searched the GitHub issue tracker and didn't find a similar bug 
report.
   - [X] I have checked Superset's logs for errors and if I found a relevant 
Python stacktrace, I included it here as text in the "additional context" 
section.


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