Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[markup] Enable allow-forms #5062

Merged

Conversation

john-bodley
Copy link
Member

@john-bodley john-bodley commented May 23, 2018

This PR fixes an issue where a dashboard contained a markup slice with links to other dashboards, and when one tried to either export or explore a slice on the referenced dashboard the following error occurred:

Blocked form submission to <url> because the form's frame is sandboxed and the 'allow-forms' permission is not set.

The solution is simply to enable the allow-forms permission in the markup iframe component.

Note given the complexity of the issue, I'm unsure whether one could write a unit test for this scenario, though I was able to validate the fix in my local environment.

to: @williaster @graceguo-supercat @michellethomas @mistercrunch

@codecov-io
Copy link

codecov-io commented May 23, 2018

Codecov Report

Merging #5062 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #5062   +/-   ##
=======================================
  Coverage   77.52%   77.52%           
=======================================
  Files          44       44           
  Lines        8707     8707           
=======================================
  Hits         6750     6750           
  Misses       1957     1957

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 4c44223...60c3ccc. Read the comment docs.

Copy link

@graceguo-supercat graceguo-supercat left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@john-bodley john-bodley merged commit d322e48 into apache:master May 23, 2018
@john-bodley john-bodley deleted the john-bodley-iframed-sandbox-fix branch May 23, 2018 20:30
john-bodley added a commit to john-bodley/superset that referenced this pull request May 23, 2018
john-bodley added a commit that referenced this pull request May 24, 2018
timifasubaa pushed a commit to timifasubaa/incubator-superset that referenced this pull request May 31, 2018
wenchma pushed a commit to wenchma/incubator-superset that referenced this pull request Nov 16, 2018
@mistercrunch mistercrunch added 🏷️ bot A label used by `supersetbot` to keep track of which PR where auto-tagged with release labels 🚢 0.26.0 labels Feb 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🏷️ bot A label used by `supersetbot` to keep track of which PR where auto-tagged with release labels 🚢 0.26.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants