Update password enforcement & expiration date capabilities for public links
This commit is contained in:
@@ -0,0 +1,5 @@
|
|||||||
|
Enhancement: Update linkshare capabilities
|
||||||
|
|
||||||
|
We have updated the capabilities regarding password enforcement and expiration dates of public links. They were previously hardcoded in a way that didn't reflect the actual backend functionality anymore.
|
||||||
|
|
||||||
|
https://github.com/owncloud/ocis/pull/3579
|
||||||
@@ -254,15 +254,15 @@ func frontendConfigFromStruct(c *cli.Context, cfg *config.Config, filesCfg map[s
|
|||||||
"multiple": true,
|
"multiple": true,
|
||||||
"supports_upload_only": true,
|
"supports_upload_only": true,
|
||||||
"password": map[string]interface{}{
|
"password": map[string]interface{}{
|
||||||
"enforced": true,
|
"enforced": false,
|
||||||
"enforced_for": map[string]interface{}{
|
"enforced_for": map[string]interface{}{
|
||||||
"read_only": true,
|
"read_only": false,
|
||||||
"read_write": true,
|
"read_write": false,
|
||||||
"upload_only": true,
|
"upload_only": false,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
"expire_date": map[string]interface{}{
|
"expire_date": map[string]interface{}{
|
||||||
"enabled": false,
|
"enabled": true,
|
||||||
},
|
},
|
||||||
"can_edit": true,
|
"can_edit": true,
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user