mirror of https://github.com/grafana/grafana.git
16 lines
381 B
Go
16 lines
381 B
Go
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)
|
|
}
|