fix: disable misconfigured default expiration date public links

This commit is contained in:
Benedikt Kulmann
2022-08-30 11:36:28 +02:00
committed by Ralf Haferkamp
parent 21470ab392
commit 0341097430
2 changed files with 7 additions and 1 deletions

View File

@@ -0,0 +1,6 @@
Bugfix: Disable default expiration for public links
The default expiration for public links was enabled in the capabilities without providing a (then required) default amount of days for clients to pick a reasonable expiration date upon link creation. This has been fixed by disabling the default expiration for public links in the capabilities. With this configuration clients will no longer set a default expiration date upon link creation.
https://github.com/owncloud/ocis/issues/4445
https://github.com/owncloud/ocis/pull/4475

View File

@@ -206,7 +206,7 @@ func FrontendConfigFromStruct(cfg *config.Config) (map[string]interface{}, error
},
},
"expire_date": map[string]interface{}{
"enabled": true,
"enabled": false,
},
"can_edit": true,
},