mirror of
https://github.com/grafana/grafana.git
synced 2025-08-02 16:42:26 +08:00
config: updated feature toggle name
This commit is contained in:

committed by
Leonard Gram

parent
a6a3d698da
commit
a90b3e331e
@ -18,7 +18,7 @@ func (hs *HTTPServer) CreateTeam(c *m.ReqContext, cmd m.CreateTeamCommand) Respo
|
||||
return Error(500, "Failed to create Team", err)
|
||||
}
|
||||
|
||||
if c.OrgRole == m.ROLE_EDITOR && hs.Cfg.EditorsCanOwn {
|
||||
if c.OrgRole == m.ROLE_EDITOR && hs.Cfg.EditorsCanAdmin {
|
||||
addMemberCmd := m.AddTeamMemberCommand{
|
||||
UserId: c.SignedInUser.UserId,
|
||||
OrgId: cmd.OrgId,
|
||||
|
Reference in New Issue
Block a user