Skip to content

Commit

Permalink
Fix capabilities for files sharing (#3771)
Browse files Browse the repository at this point in the history
  • Loading branch information
gmgigi96 authored Apr 4, 2023
1 parent 3bdbc45 commit 6f953ae
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
Bugfix: Fix files sharing capabilities

A bug was preventing setting some capabilities
(ResharingDefault and DenyAccess) for files sharing
from the configuration file

https://github.com/cs3org/reva/pull/3771
6 changes: 3 additions & 3 deletions internal/http/services/owncloud/ocs/data/capabilities.go
Original file line number Diff line number Diff line change
Expand Up @@ -148,9 +148,9 @@ type CapabilitiesDav struct {
// CapabilitiesFilesSharing TODO document.
type CapabilitiesFilesSharing struct {
APIEnabled ocsBool `json:"api_enabled" xml:"api_enabled" mapstructure:"api_enabled"`
Resharing ocsBool `json:"resharing" xml:"resharing"`
ResharingDefault ocsBool `json:"resharing_default" xml:"resharing_default"`
DenyAccess ocsBool `json:"deny_access" xml:"deny_access"`
Resharing ocsBool `json:"resharing" xml:"resharing" mapstructure:"resharing"`
ResharingDefault ocsBool `json:"resharing_default" xml:"resharing_default" mapstructure:"resharing_default"`
DenyAccess ocsBool `json:"deny_access" xml:"deny_access" mapstructure:"deny_access"`
GroupSharing ocsBool `json:"group_sharing" xml:"group_sharing" mapstructure:"group_sharing"`
AutoAcceptShare ocsBool `json:"auto_accept_share" xml:"auto_accept_share" mapstructure:"auto_accept_share"`
ShareWithGroupMembersOnly ocsBool `json:"share_with_group_members_only" xml:"share_with_group_members_only" mapstructure:"share_with_group_members_only"`
Expand Down

0 comments on commit 6f953ae

Please sign in to comment.