Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add feature flags "projects" and "share_jail" to spaces capability #2795

Merged
merged 1 commit into from
Apr 29, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions changelog/unreleased/spaces-feature-flags.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Enhancement: Add feature flags "projects" and "share_jail" to spaces capability

https://github.com/cs3org/reva/pull/2795
6 changes: 4 additions & 2 deletions internal/http/services/owncloud/ocs/data/capabilities.go
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,10 @@ type Capabilities struct {

// Spaces lets a service configure its advertised options related to Storage Spaces.
type Spaces struct {
Version string `json:"version" xml:"version" mapstructure:"version"`
Enabled bool `json:"enabled" xml:"enabled" mapstructure:"enabled"`
Version string `json:"version" xml:"version" mapstructure:"version"`
Enabled bool `json:"enabled" xml:"enabled" mapstructure:"enabled"`
Projects bool `json:"projects" xml:"projects" mapstructure:"projects"`
ShareJail bool `json:"share_jail" xml:"share_jail" mapstructure:"share_jail"`
}

// CapabilitiesCore holds webdav config
Expand Down