mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
working on account registration and more
This commit is contained in:
@@ -21,6 +21,26 @@ type Dashboard struct {
|
||||
Data map[string]interface{}
|
||||
}
|
||||
|
||||
type UserAccountLink struct {
|
||||
UserId int
|
||||
Role string
|
||||
ModifiedOn time.Time
|
||||
CreatedOn time.Time
|
||||
}
|
||||
|
||||
type UserAccount struct {
|
||||
DatabaseId int `gorethink:"id"`
|
||||
UserName string
|
||||
Login string
|
||||
Email string
|
||||
Password string
|
||||
NextDashboardId int
|
||||
UsingAccountId int
|
||||
GrantedAccess []UserAccountLink
|
||||
CreatedOn time.Time
|
||||
ModifiedOn time.Time
|
||||
}
|
||||
|
||||
type UserContext struct {
|
||||
UserId string
|
||||
AccountId string
|
||||
|
||||
Reference in New Issue
Block a user