Skip to content

Commit

Permalink
feat: disable resharing by default
Browse files Browse the repository at this point in the history
  • Loading branch information
micbar committed Mar 14, 2024
1 parent 63275b6 commit 3b207a6
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 3 deletions.
5 changes: 5 additions & 0 deletions changelog/unreleased/change-default-resharing.md
Original file line number Diff line number Diff line change
@@ -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
2 changes: 1 addition & 1 deletion services/frontend/pkg/config/defaults/defaultconfig.go
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ func DefaultConfig() *config.Config {
UploadMaxChunkSize: 1e+7,
UploadHTTPMethodOverride: "",
DefaultUploadProtocol: "tus",
EnableResharing: true,
EnableResharing: false,
DefaultLinkPermissions: 1,
SearchMinLength: 3,
Edition: "Community",
Expand Down
2 changes: 1 addition & 1 deletion services/graph/pkg/config/defaults/defaultconfig.go
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ func DefaultConfig() *config.Config {
EnableTLS: false,
},
FilesSharing: config.FilesSharing{
EnableResharing: true,
EnableResharing: false,
},
}
}
Expand Down
2 changes: 1 addition & 1 deletion services/sharing/pkg/config/defaults/defaultconfig.go
Original file line number Diff line number Diff line change
Expand Up @@ -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{
Expand Down

0 comments on commit 3b207a6

Please sign in to comment.