mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2026-05-13 06:49:38 -05:00
Settings
The "settings" service provides functionality for other services to register new settings within oCIS. It is also responsible for storing the respective settings values as well.
The "settings" service is currently used for
- managing the users' "profile" settings. E.g. the language and the Email notification settings
- managing the possible user roles and their respecitve permssions
- managing the assignment of roles to users
The "settings" service supports two different backends for persisting the data. The backend
can be set using SETTINGS_STORE_TYPE environment variable. Supported values are:
metadata: The default. This backend persists the settings data via thestoreage-systemservicefilesystem: This backend persists the settings data in a directory on the local filesystem. The directory can be configured withSETTINGS_DATA_PATH. This backend is not suitable for running multiple intances of thesettingsservice in a scale-out deployment. It should be considered deprecated.
The diagram shows how the settings service integrates into oCIS:
Settings Management
oCIS services can register settings bundles with the ocis-settings service.
Settings Usage
Services can query ocis-settings for settings values of a user.