mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
DashboardScene: Fixes full page reload of fullscreen view of a repeated panel (#76326)
* Progress on view panel for repeats * Good enough * Update
This commit is contained in:
@@ -576,7 +576,7 @@ func TestDashAlertPermissionMigration(t *testing.T) {
|
||||
name: "should ignore fixed roles even if they would affect access",
|
||||
enterprise: true,
|
||||
roles: map[accesscontrol.Role][]accesscontrol.Permission{
|
||||
accesscontrol.Role{Name: "fixed:dashboards:writer"}: {
|
||||
{Name: "fixed:dashboards:writer"}: {
|
||||
{Action: dashboards.ActionDashboardsRead, Scope: dashboards.ScopeDashboardsAll},
|
||||
{Action: dashboards.ActionDashboardsWrite, Scope: dashboards.ScopeDashboardsAll},
|
||||
{Action: dashboards.ActionDashboardsDelete, Scope: dashboards.ScopeDashboardsAll},
|
||||
@@ -602,7 +602,7 @@ func TestDashAlertPermissionMigration(t *testing.T) {
|
||||
name: "should ignore custom roles even if they would affect access",
|
||||
enterprise: true,
|
||||
roles: map[accesscontrol.Role][]accesscontrol.Permission{
|
||||
accesscontrol.Role{Name: "custom role"}: {
|
||||
{Name: "custom role"}: {
|
||||
{Action: dashboards.ActionDashboardsRead, Scope: dashboards.ScopeDashboardsAll},
|
||||
{Action: dashboards.ActionDashboardsWrite, Scope: dashboards.ScopeDashboardsAll},
|
||||
{Action: dashboards.ActionDashboardsDelete, Scope: dashboards.ScopeDashboardsAll},
|
||||
|
||||
Reference in New Issue
Block a user