mirror of
https://github.com/grafana/grafana.git
synced 2025-02-20 11:48:34 -06:00
11 lines
296 B
Go
11 lines
296 B
Go
|
package api
|
||
|
|
||
|
import "github.com/grafana/grafana/pkg/models"
|
||
|
|
||
|
// updateDashboardACL updates a dashboard's ACL items.
|
||
|
//
|
||
|
// Stubbable by tests.
|
||
|
var updateDashboardACL = func(hs *HTTPServer, dashID int64, items []*models.DashboardAcl) error {
|
||
|
return hs.SQLStore.UpdateDashboardACL(dashID, items)
|
||
|
}
|