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