mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
PublicDashboards: Adds middleware for email sharing (#61950)
adds Share field to PublicDashboard model
This commit is contained in:
parent
fbfb79afce
commit
dd597c3a1e
@ -39,6 +39,7 @@ type PublicDashboard struct {
|
|||||||
AccessToken string `json:"accessToken" xorm:"access_token"`
|
AccessToken string `json:"accessToken" xorm:"access_token"`
|
||||||
AnnotationsEnabled bool `json:"annotationsEnabled" xorm:"annotations_enabled"`
|
AnnotationsEnabled bool `json:"annotationsEnabled" xorm:"annotations_enabled"`
|
||||||
TimeSelectionEnabled bool `json:"timeSelectionEnabled" xorm:"time_selection_enabled"`
|
TimeSelectionEnabled bool `json:"timeSelectionEnabled" xorm:"time_selection_enabled"`
|
||||||
|
Share string `json:"share"`
|
||||||
|
|
||||||
CreatedBy int64 `json:"createdBy" xorm:"created_by"`
|
CreatedBy int64 `json:"createdBy" xorm:"created_by"`
|
||||||
UpdatedBy int64 `json:"updatedBy" xorm:"updated_by"`
|
UpdatedBy int64 `json:"updatedBy" xorm:"updated_by"`
|
||||||
|
Loading…
Reference in New Issue
Block a user