diff --git a/charts/hub/README.md b/charts/hub/README.md index b958a05..94c8a8a 100644 --- a/charts/hub/README.md +++ b/charts/hub/README.md @@ -207,8 +207,14 @@ Below all configuration options and parameters are listed. | `kerberoshub.frontend.features.i18n.enabled` | Enable or disable the runtime language switcher in the front-end. When `"false"`, `defaultLanguage` is forced and users cannot change it. | `"true"` | | `kerberoshub.frontend.features.i18n.defaultLanguage` | Default language code used by the front-end (e.g. `en`, `nl`, `pl`, `tr`, `fr`, `sv`, `de`). | `"en"` | | `kerberoshub.frontend.features.workflows.enabled` | Enable or disable the workflows feature in the frontend. | `"false"` | +| `kerberoshub.frontend.features.organisations.enabled` | Enable or disable all organisation feature flags. When empty, the child settings apply independently. | `""` | | `kerberoshub.frontend.features.organisations.switcherEnabled` | Enable or disable the organisation dropdown and switching. The current organisation remains visible when disabled. | `"false"` | | `kerberoshub.frontend.features.organisations.creationEnabled` | Enable or disable organisation creation. Requires organisation switching to be enabled. | `"false"` | +| `kerberoshub.frontend.features.organisations.settingsEnabled` | Enable or disable the organisation identity link to organisation settings. | `"false"` | +| `kerberoshub.frontend.features.projects.enabled` | Enable or disable all project feature flags. When empty, the child settings apply independently. | `""` | +| `kerberoshub.frontend.features.projects.switcherEnabled` | Enable or disable the read-only project dropdown. | `"false"` | +| `kerberoshub.frontend.features.projects.creationEnabled` | Reserved for the project creation UI. | `"false"` | +| `kerberoshub.frontend.features.projects.settingsEnabled` | Reserved for the project settings UI. | `"false"` | | `kerberoshub.frontend.features.map.tileUrlLight` | Tile URL used by the map in light mode. | `"https://{s}.basemaps.cartocdn.com/rastertiles/voyager/{z}/{x}/{y}{r}.png"` | | `kerberoshub.frontend.features.map.tileUrlDark` | Tile URL used by the map in dark mode. | `"https://{s}.basemaps.cartocdn.com/dark_all/{z}/{x}/{y}{r}.png"` | | `kerberoshub.frontend.features.map.attribution` | Attribution text displayed on the map tiles. | `"© OpenStreetMap"` | diff --git a/charts/hub/templates/kerberos-hub/hub-frontend.yaml b/charts/hub/templates/kerberos-hub/hub-frontend.yaml index c26b725..c9056e5 100644 --- a/charts/hub/templates/kerberos-hub/hub-frontend.yaml +++ b/charts/hub/templates/kerberos-hub/hub-frontend.yaml @@ -312,10 +312,22 @@ spec: value: "{{ .Values.kerberoshub.frontend.features.case.enabled }}" - name: FEATURE_WORKFLOWS_ENABLED value: "{{ .Values.kerberoshub.frontend.features.workflows.enabled }}" + - name: FEATURE_ORGANISATIONS_ENABLED + value: "{{ .Values.kerberoshub.frontend.features.organisations.enabled }}" - name: FEATURE_ORGANISATION_SWITCHER_ENABLED value: "{{ .Values.kerberoshub.frontend.features.organisations.switcherEnabled }}" - name: FEATURE_ORGANISATION_CREATION_ENABLED value: "{{ .Values.kerberoshub.frontend.features.organisations.creationEnabled }}" + - name: FEATURE_ORGANISATION_SETTINGS_ENABLED + value: "{{ .Values.kerberoshub.frontend.features.organisations.settingsEnabled }}" + - name: FEATURE_PROJECTS_ENABLED + value: "{{ .Values.kerberoshub.frontend.features.projects.enabled }}" + - name: FEATURE_PROJECT_SWITCHER_ENABLED + value: "{{ .Values.kerberoshub.frontend.features.projects.switcherEnabled }}" + - name: FEATURE_PROJECT_CREATION_ENABLED + value: "{{ .Values.kerberoshub.frontend.features.projects.creationEnabled }}" + - name: FEATURE_PROJECT_SETTINGS_ENABLED + value: "{{ .Values.kerberoshub.frontend.features.projects.settingsEnabled }}" - name: FEATURE_DARK_MODE value: "{{ .Values.kerberoshub.frontend.features.darkModeEnabled }}" - name: FEATURE_SPLASH_SCREEN_ENABLED diff --git a/charts/hub/values.yaml b/charts/hub/values.yaml index aed546a..b49f7e6 100644 --- a/charts/hub/values.yaml +++ b/charts/hub/values.yaml @@ -479,8 +479,15 @@ kerberoshub: enabled: "false" # Enable or disable workflows feature 'true' or 'false' # Organisation controls remain visible as a read-only current organisation when switching is disabled. organisations: + enabled: "" # Enable or disable all organisation feature flags; when empty, the child settings apply independently switcherEnabled: "false" # Enable or disable organisation switching 'true' or 'false' creationEnabled: "false" # Enable or disable organisation creation; requires switcherEnabled 'true' or 'false' + settingsEnabled: "false" # Enable or disable the organisation settings link 'true' or 'false' + projects: + enabled: "" # Enable or disable all project feature flags; when empty, the child settings apply independently + switcherEnabled: "false" # Enable or disable the read-only project dropdown 'true' or 'false' + creationEnabled: "false" # Reserved for project creation UI 'true' or 'false' + settingsEnabled: "false" # Reserved for project settings UI 'true' or 'false' # Map tile configuration map: tileUrlLight: "https://{s}.basemaps.cartocdn.com/rastertiles/voyager/{z}/{x}/{y}{r}.png" # Map tile URL for light mode