mirror of
https://github.com/grafana/grafana.git
synced 2024-11-29 12:14:08 -06:00
d98813796c
* remove unused HasAdmin and HasEdit permission methods * remove legacy AC from HasAccess method * remove unused function * update alerting tests to work with RBAC
11 lines
278 B
Go
11 lines
278 B
Go
package navtree
|
|
|
|
import (
|
|
contextmodel "github.com/grafana/grafana/pkg/services/contexthandler/model"
|
|
pref "github.com/grafana/grafana/pkg/services/preference"
|
|
)
|
|
|
|
type Service interface {
|
|
GetNavTree(c *contextmodel.ReqContext, prefs *pref.Preference) (*NavTreeRoot, error)
|
|
}
|