diff --git a/config-raw.json b/config-raw.json index dd395b768..c49239e6b 100644 --- a/config-raw.json +++ b/config-raw.json @@ -113,6 +113,11 @@ "default_value": "true", "comment": "If true, will allow users to request the complete deletion of their account. When using external authentication methods\nit may be required to coordinate with them in order to delete the account. This setting will not affect the cli commands\nfor user deletion." }, + { + "key": "enablebotusers", + "default_value": "true", + "comment": "If enabled (default), users can create bot users that interact with Vikunja via the API only. Set to false to disable the feature entirely." + }, { "key": "maxavatarsize", "default_value": "1024", diff --git a/pkg/config/config.go b/pkg/config/config.go index 1941f7f0b..099c72e9c 100644 --- a/pkg/config/config.go +++ b/pkg/config/config.go @@ -64,6 +64,7 @@ const ( ServiceTestingtoken Key = `service.testingtoken` ServiceEnableEmailReminders Key = `service.enableemailreminders` ServiceEnableUserDeletion Key = `service.enableuserdeletion` + ServiceEnableBotUsers Key = `service.enablebotusers` ServiceMaxAvatarSize Key = `service.maxavatarsize` ServiceAllowIconChanges Key = `service.allowiconchanges` ServiceCustomLogoURL Key = `service.customlogourl` @@ -360,6 +361,7 @@ func InitDefaultConfig() { ServiceEnableTotp.setDefault(true) ServiceEnableEmailReminders.setDefault(true) ServiceEnableUserDeletion.setDefault(true) + ServiceEnableBotUsers.setDefault(true) ServiceMaxAvatarSize.setDefault(1024) ServiceDemoMode.setDefault(false) ServiceAllowIconChanges.setDefault(true)