Skip to content

Commit

Permalink
Allow default org role to be Read Only Editor
Browse files Browse the repository at this point in the history
  • Loading branch information
blt04 committed Aug 6, 2015
1 parent 41e13fa commit 1e2e65b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/setting/setting.go
Original file line number Diff line number Diff line change
Expand Up @@ -391,7 +391,7 @@ func NewConfigContext(args *CommandLineArgs) {
AllowUserSignUp = users.Key("allow_sign_up").MustBool(true)
AllowUserOrgCreate = users.Key("allow_org_create").MustBool(true)
AutoAssignOrg = users.Key("auto_assign_org").MustBool(true)
AutoAssignOrgRole = users.Key("auto_assign_org_role").In("Editor", []string{"Editor", "Admin", "Viewer"})
AutoAssignOrgRole = users.Key("auto_assign_org_role").In("Editor", []string{"Editor", "Admin", "Read Only Editor", "Viewer"})

// anonymous access
AnonymousEnabled = Cfg.Section("auth.anonymous").Key("enabled").MustBool(false)
Expand Down

0 comments on commit 1e2e65b

Please sign in to comment.