diff --git a/changelog/unreleased/change-default-resharing.md b/changelog/unreleased/change-default-resharing.md new file mode 100644 index 00000000000..19a5f39550c --- /dev/null +++ b/changelog/unreleased/change-default-resharing.md @@ -0,0 +1,5 @@ +Change: Disable resharing by default for deprecation + +We disabled the resharing feature by default. This feature will be removed from the product in the next major release. The resharing feature is not recommended for use and should be disabled. Existing reshares will continue to work. + +https://github.com/owncloud/ocis/pull/8653 diff --git a/services/frontend/pkg/config/defaults/defaultconfig.go b/services/frontend/pkg/config/defaults/defaultconfig.go index 5a9b81c9acb..12d5d86240c 100644 --- a/services/frontend/pkg/config/defaults/defaultconfig.go +++ b/services/frontend/pkg/config/defaults/defaultconfig.go @@ -84,7 +84,7 @@ func DefaultConfig() *config.Config { UploadMaxChunkSize: 1e+7, UploadHTTPMethodOverride: "", DefaultUploadProtocol: "tus", - EnableResharing: true, + EnableResharing: false, DefaultLinkPermissions: 1, SearchMinLength: 3, Edition: "Community", diff --git a/services/graph/pkg/config/defaults/defaultconfig.go b/services/graph/pkg/config/defaults/defaultconfig.go index cb0ce6d0f16..13e04adb5f4 100644 --- a/services/graph/pkg/config/defaults/defaultconfig.go +++ b/services/graph/pkg/config/defaults/defaultconfig.go @@ -107,7 +107,7 @@ func DefaultConfig() *config.Config { EnableTLS: false, }, FilesSharing: config.FilesSharing{ - EnableResharing: true, + EnableResharing: false, }, } } diff --git a/services/sharing/pkg/config/defaults/defaultconfig.go b/services/sharing/pkg/config/defaults/defaultconfig.go index 20d86a739a4..6f0994fa2f5 100644 --- a/services/sharing/pkg/config/defaults/defaultconfig.go +++ b/services/sharing/pkg/config/defaults/defaultconfig.go @@ -35,7 +35,7 @@ func DefaultConfig() *config.Config { Name: "sharing", }, Reva: shared.DefaultRevaConfig(), - EnableResharing: true, + EnableResharing: false, UserSharingDriver: "jsoncs3", UserSharingDrivers: config.UserSharingDrivers{ JSON: config.UserSharingJSONDriver{