Skip to content

Commit

Permalink
Update password enforcement & expiration date capabilities for public…
Browse files Browse the repository at this point in the history
… links
  • Loading branch information
pascalwengerter committed Apr 25, 2022
1 parent 2ac2680 commit 40b38dc
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 5 deletions.
5 changes: 5 additions & 0 deletions changelog/unreleased/update-linkshare-capabilities.md
Original file line number Diff line number Diff line change
@@ -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
10 changes: 5 additions & 5 deletions extensions/storage/pkg/command/frontend.go
Original file line number Diff line number Diff line change
Expand Up @@ -254,15 +254,15 @@ func frontendConfigFromStruct(c *cli.Context, cfg *config.Config, filesCfg map[s
"multiple": true,
"supports_upload_only": true,
"password": map[string]interface{}{
"enforced": true,
"enforced": false,
"enforced_for": map[string]interface{}{
"read_only": true,
"read_write": true,
"upload_only": true,
"read_only": false,
"read_write": false,
"upload_only": false,
},
},
"expire_date": map[string]interface{}{
"enabled": false,
"enabled": true,
},
"can_edit": true,
},
Expand Down

0 comments on commit 40b38dc

Please sign in to comment.