30274a4f88
* move SignedInUser to specific file * add primitive interface for signedInUser
10 lines
173 B
Go
10 lines
173 B
Go
package identity
|
|
|
|
type Requester interface {
|
|
GetIsGrafanaAdmin() bool
|
|
GetLogin() string
|
|
GetOrgID() int64
|
|
GetPermissions(orgID int64) map[string][]string
|
|
IsNil() bool
|
|
}
|