forked from grafana.jool/grafana-jool
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
381 B
15 lines
381 B
package api
|
|
|
|
import (
|
|
"context"
|
|
|
|
"github.com/grafana/grafana/pkg/dashboards"
|
|
"github.com/grafana/grafana/pkg/models"
|
|
)
|
|
|
|
// updateDashboardACL updates a dashboard's ACL items.
|
|
//
|
|
// Stubbable by tests.
|
|
var updateDashboardACL = func(ctx context.Context, s dashboards.Store, dashID int64, items []*models.DashboardAcl) error {
|
|
return s.UpdateDashboardACLCtx(ctx, dashID, items)
|
|
}
|
|
|