config: updated feature toggle name

This commit is contained in:
Hugo Häggmark
2019-03-12 07:32:47 +01:00
committed by Leonard Gram
parent a6a3d698da
commit a90b3e331e
14 changed files with 18 additions and 19 deletions

View File

@ -327,7 +327,7 @@ func (hs *HTTPServer) setIndexViewData(c *m.ReqContext) (*dtos.IndexViewData, er
})
}
if c.OrgRole == m.ROLE_EDITOR && hs.Cfg.EditorsCanOwn {
if c.OrgRole == m.ROLE_EDITOR && hs.Cfg.EditorsCanAdmin {
cfgNode := &dtos.NavLink{
Id: "cfg",
Text: "Configuration",