From 6ef844daa4a9d31dd9426ac25f179b2a778a4470 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torkel=20=C3=96degaard?= Date: Wed, 3 Apr 2019 14:27:20 +0200 Subject: [PATCH] Docs: remove embedd info about samesite cookie from app, docs only is better --- docs/sources/reference/sharing.md | 1 + .../features/dashboard/components/ShareModal/template.html | 4 +--- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/docs/sources/reference/sharing.md b/docs/sources/reference/sharing.md index 81ad80e5de0..118fd3676df 100644 --- a/docs/sources/reference/sharing.md +++ b/docs/sources/reference/sharing.md @@ -57,6 +57,7 @@ http://play.grafana.org/render/dashboard-solo/db/grafana-play-home?orgId=1&panel ### Embed Panel You can embed a panel using an iframe on another web site. This tab will show you the html that you need to use. + > *Notice* This sharing require either anonymous access or setting [cookie_samesite]({{< relref "installation/configuration/#cookie-samesite" >}}) to none Example: diff --git a/public/app/features/dashboard/components/ShareModal/template.html b/public/app/features/dashboard/components/ShareModal/template.html index d6a22c94717..26bd9d3d59c 100644 --- a/public/app/features/dashboard/components/ShareModal/template.html +++ b/public/app/features/dashboard/components/ShareModal/template.html @@ -36,9 +36,7 @@

The html code below can be pasted and included in another web page. Unless anonymous access is enabled, the user viewing that page need to be signed into grafana for the graph to load. - Grafana server setting cookie_samesite might also need to be changed to support login - inside an iframe. - /p> +