Identity: Port snapshots and annotations to Requester (#76103)
* Port snapshots to Requester * Port annotations to Requester
This commit is contained in:
@@ -2,7 +2,7 @@ package annotations
|
||||
|
||||
import (
|
||||
"github.com/grafana/grafana/pkg/components/simplejson"
|
||||
"github.com/grafana/grafana/pkg/services/user"
|
||||
"github.com/grafana/grafana/pkg/services/auth/identity"
|
||||
)
|
||||
|
||||
type ItemQuery struct {
|
||||
@@ -18,7 +18,7 @@ type ItemQuery struct {
|
||||
Tags []string `json:"tags"`
|
||||
Type string `json:"type"`
|
||||
MatchAny bool `json:"matchAny"`
|
||||
SignedInUser *user.SignedInUser
|
||||
SignedInUser identity.Requester
|
||||
|
||||
Limit int64 `json:"limit"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user