From f54cbe9261d259e564c23a959897046df15b98eb Mon Sep 17 00:00:00 2001 From: Diogo Castro Date: Thu, 30 Mar 2023 14:57:07 +0200 Subject: [PATCH] Denial and Resharing Default capability --- changelog/unreleased/deny-default-reshare-capabilities.md | 3 +++ internal/http/services/owncloud/ocs/data/capabilities.go | 2 ++ 2 files changed, 5 insertions(+) create mode 100644 changelog/unreleased/deny-default-reshare-capabilities.md diff --git a/changelog/unreleased/deny-default-reshare-capabilities.md b/changelog/unreleased/deny-default-reshare-capabilities.md new file mode 100644 index 00000000000..3b274bc452a --- /dev/null +++ b/changelog/unreleased/deny-default-reshare-capabilities.md @@ -0,0 +1,3 @@ +Enhancement: Denial and Resharing Default capabilities + +https://github.com/cs3org/reva/pull/3762 \ No newline at end of file diff --git a/internal/http/services/owncloud/ocs/data/capabilities.go b/internal/http/services/owncloud/ocs/data/capabilities.go index 6199c091aca..ab0aaaa5ec9 100644 --- a/internal/http/services/owncloud/ocs/data/capabilities.go +++ b/internal/http/services/owncloud/ocs/data/capabilities.go @@ -149,6 +149,8 @@ type CapabilitiesDav struct { 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"` 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"`