mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Auth: Move apikey service from userSignedIn to identity.Requester interface (#74323)
change from userSignedIn to identity.Requester interface
This commit is contained in:
parent
d14851c877
commit
61e96f8412
@ -12,6 +12,7 @@ import (
|
||||
"github.com/grafana/grafana/pkg/infra/db"
|
||||
"github.com/grafana/grafana/pkg/services/accesscontrol"
|
||||
"github.com/grafana/grafana/pkg/services/apikey"
|
||||
"github.com/grafana/grafana/pkg/services/auth/identity"
|
||||
"github.com/grafana/grafana/pkg/services/user"
|
||||
"github.com/grafana/grafana/pkg/setting"
|
||||
)
|
||||
@ -20,7 +21,7 @@ type getStore func(db.DB, *setting.Cfg) store
|
||||
|
||||
type getApiKeysTestCase struct {
|
||||
desc string
|
||||
user *user.SignedInUser
|
||||
user identity.Requester
|
||||
expectedNumKeys int
|
||||
expectedAllNumKeys int
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user