IAM: Add role to User (#111256)
* codegen fix * Return user role from the legacy store * Lint * Add tests, gen openapi * make generate * revert go.mod, go.sum, go.work.sum changes * Update go.mod and go.sum
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
package common
|
||||
|
||||
import "github.com/grafana/grafana/pkg/services/user"
|
||||
|
||||
type UserWithRole struct {
|
||||
user.User
|
||||
Role string
|
||||
}
|
||||
Reference in New Issue
Block a user