Skip to content
Snippets Groups Projects
  • dpsutton's avatar
    0a455d9a
    Fix csp directives for embed previews (#49155) · 0a455d9a
    dpsutton authored
    
    * Fix csp directives for embed previews
    
    We set content security directives to allow for iframes on
    dashboards. This list did not include 'self' so we can't actually host
    an iframe pointing at our, well, self.
    
    Embed previews work by just embedding an iframe with the dashboard and
    this breaks if we don't allow iframes from our self.
    
    * e2e test
    
    ---------
    
    Co-authored-by: default avatarAleksandr Lesnenko <alxnddr@gmail.com>
    Fix csp directives for embed previews (#49155)
    dpsutton authored
    
    * Fix csp directives for embed previews
    
    We set content security directives to allow for iframes on
    dashboards. This list did not include 'self' so we can't actually host
    an iframe pointing at our, well, self.
    
    Embed previews work by just embedding an iframe with the dashboard and
    this breaks if we don't allow iframes from our self.
    
    * e2e test
    
    ---------
    
    Co-authored-by: default avatarAleksandr Lesnenko <alxnddr@gmail.com>
Code owners
Assign users and groups as approvers for specific file changes. Learn more.