Skip to content

Commit

Permalink
Add feature flags "projects" and "share_jail" to spaces capability (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
kulmann authored Apr 29, 2022
1 parent 7f0132a commit b061a45
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
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

0 comments on commit b061a45

Please sign in to comment.