Skip to content

Commit

Permalink
Merge pull request #7486 from owncloud/add-disabled-extensions-config
Browse files Browse the repository at this point in the history
feat: add config for disabling web extensions
  • Loading branch information
JammingBen committed Oct 13, 2023
2 parents afcdb76 + c6533dc commit 7d4e992
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
6 changes: 6 additions & 0 deletions changelog/unreleased/disabled-web-extensions-config.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
Enhancement: Config for disabling Web extensions

A new config for disabling specific Web extensions via their id has been added.

https://github.com/owncloud/ocis/pull/7486
https://github.com/owncloud/web/issues/8524
1 change: 1 addition & 0 deletions services/web/pkg/config/options.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ type Options struct {
PrivacyURL string `json:"privacyUrl,omitempty" yaml:"privacyUrl" env:"WEB_OPTION_PRIVACY_URL" desc:"Specifies the target URL for the privacy link valid for the ocis instance in the account menu."`
AccessDeniedHelpURL string `json:"accessDeniedHelpUrl,omitempty" yaml:"accessDeniedHelpUrl" env:"WEB_OPTION_ACCESS_DENIED_HELP_URL" desc:"Specifies the target URL valid for the ocis instance for the generic logged out / access denied page."`
TokenStorageLocal bool `json:"tokenStorageLocal,omitempty" yaml:"tokenStorageLocal" env:"WEB_OPTION_TOKEN_STORAGE_LOCAL" desc:"Specifies whether the access token will be stored in the local storage when set to 'true' or in the session storage when set to 'false''. If stored in the local storage, login state will be persisted across multiple browser tabs, means no additional logins are required. Defaults to 'true'."`
DisabledExtensions []string `json:"disabledExtensions,omitempty" yaml:"disabledExtensions" env:"WEB_OPTION_DISABLED_EXTENSIONS" desc:"Allows disabling specific Web extensions via their id."`
}

// AccountEditLink are the AccountEditLink options
Expand Down

0 comments on commit 7d4e992

Please sign in to comment.