From d2307f49d9b7bed6b700c8d93b2f5495c9ec780f Mon Sep 17 00:00:00 2001 From: pwengerter Date: Wed, 20 Oct 2021 18:52:01 +0100 Subject: [PATCH] Add versioned user settings capability --- changelog/unreleased/add-user-setting-capability.md | 6 ++++++ storage/pkg/command/frontend.go | 6 ++++++ 2 files changed, 12 insertions(+) create mode 100644 changelog/unreleased/add-user-setting-capability.md diff --git a/changelog/unreleased/add-user-setting-capability.md b/changelog/unreleased/add-user-setting-capability.md new file mode 100644 index 000000000..8096fbb5c --- /dev/null +++ b/changelog/unreleased/add-user-setting-capability.md @@ -0,0 +1,6 @@ +Enhancement: Add user setting capability + +We've added a capability to communicate the existance of a user settings service to clients. + +https://github.com/owncloud/ocis/pull/2655 +https://github.com/owncloud/web/issues/5926 diff --git a/storage/pkg/command/frontend.go b/storage/pkg/command/frontend.go index 9e14b53de..f55b5618f 100644 --- a/storage/pkg/command/frontend.go +++ b/storage/pkg/command/frontend.go @@ -272,6 +272,12 @@ func frontendConfigFromStruct(c *cli.Context, cfg *config.Config, filesCfg map[s "user": map[string]interface{}{ "send_mail": true, "profile_picture": false, + "settings": []map[string]interface{}{ + { + "enabled": true, + "version": "1.0.0", + }, + }, }, "user_enumeration": map[string]interface{}{ "enabled": true,