grafana/pkg/services/navtree/navtree.go
Ieva d98813796c
RBAC: Remove legacy AC from HasAccess permission check (#68995)
* remove unused HasAdmin and HasEdit permission methods

* remove legacy AC from HasAccess method

* remove unused function

* update alerting tests to work with RBAC
2023-05-30 14:39:09 +01:00

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)
}