mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Auth: Move Team service to SignedInUserInterface (#72674)
* move SignedInUser to specific file * add primitive interface for signedInUser
This commit is contained in:
9
pkg/services/auth/identity/requester.go
Normal file
9
pkg/services/auth/identity/requester.go
Normal file
@@ -0,0 +1,9 @@
|
||||
package identity
|
||||
|
||||
type Requester interface {
|
||||
GetIsGrafanaAdmin() bool
|
||||
GetLogin() string
|
||||
GetOrgID() int64
|
||||
GetPermissions(orgID int64) map[string][]string
|
||||
IsNil() bool
|
||||
}
|
Reference in New Issue
Block a user