Auth: Move Team service to SignedInUserInterface (#72674)
* move SignedInUser to specific file * add primitive interface for signedInUser
This commit is contained in:
@@ -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