1b1954de28
* Add FolderStore interface * Authz: add implementation to use folders api and use it inproc with loopback config * Add tracing and add rest.Config for talking with folder api using access tokens * Restructure test to get rid of circular dependencies in tests * use correct group version kind --------- Co-authored-by: gamab <gabriel.mabille@grafana.com>
22 lines
255 B
Go
22 lines
255 B
Go
package store
|
|
|
|
type UserIdentifiers struct {
|
|
ID int64
|
|
UID string
|
|
}
|
|
|
|
type BasicRole struct {
|
|
Role string
|
|
IsAdmin bool
|
|
}
|
|
|
|
type BasicRoleQuery struct {
|
|
UserID int64
|
|
OrgID int64
|
|
}
|
|
|
|
type UserIdentifierQuery struct {
|
|
UserID int64
|
|
UserUID string
|
|
}
|