Skip to content
Snippets Groups Projects

Compare revisions

Changes are shown as if the source revision was being merged into the target revision. Learn more about comparing revisions.

Source

Select target project
No results found

Target

Select target project
  • bmi/opendesk/components/platform-development/charts/opendesk-jitsi
1 result
Show changes
Commits on Source (2)
## [1.9.2](https://gitlab.opencode.de/bmi/opendesk/components/platform-development/charts/opendesk-jitsi/compare/v1.9.1...v1.9.2) (2024-08-09)
### Bug Fixes
* **context.ts:** Return `null` when a required OIDC claim is not available. ([a55da5b](https://gitlab.opencode.de/bmi/opendesk/components/platform-development/charts/opendesk-jitsi/commit/a55da5b9ba0efc56f236541c5d8bf50a58f3db01))
## [1.9.1](https://gitlab.opencode.de/bmi/opendesk/components/platform-development/charts/opendesk-jitsi/compare/v1.9.0...v1.9.1) (2024-08-09)
......
......@@ -20,5 +20,5 @@ keywords:
- "networking"
name: "opendesk-jitsi"
type: "application"
version: "1.9.1"
version: "1.9.2"
...
......@@ -13,13 +13,13 @@ To install the chart with the release name `my-release`, you have two options:
### Install via Repository
```console
helm repo add opendesk-jitsi https://gitlab.opencode.de/api/v4/projects/1377/packages/helm/stable
helm install my-release --version 1.9.1 opendesk-jitsi/opendesk-jitsi
helm install my-release --version 1.9.2 opendesk-jitsi/opendesk-jitsi
```
### Install via OCI Registry
```console
helm repo add opendesk-jitsi oci://registry.opencode.de/bmi/opendesk/components/platform-development/charts/opendesk-jitsi
helm install my-release --version 1.9.1 opendesk-jitsi/opendesk-jitsi
helm install my-release --version 1.9.2 opendesk-jitsi/opendesk-jitsi
```
## Requirements
......
// -----------------------------------------------------------------------------
// SPDX-FileCopyrightText: 2024 Zentrum für Digitale Souveränität der Öffentlichen Verwaltung (ZenDiS) GmbH
// SPDX-FileCopyrightText: 2023 Bundesministerium des Innern und für Heimat, PG ZenDiS "Projektgruppe für Aufbau ZenDiS"
// SPDX-License-Identifier: Apache-2.0
// -----------------------------------------------------------------------------
......@@ -9,14 +10,18 @@
// -----------------------------------------------------------------------------
export function createContext(userInfo: Record<string, unknown>) {
const context = {
user: {
id: userInfo.sub,
name: userInfo.name || userInfo.preferred_username || "",
email: userInfo.email || "",
lobby_bypass: true,
},
};
return context;
if (userInfo.opendesk_username) {
const context = {
user: {
id: userInfo.sub,
name: userInfo.name || userInfo.opendesk_username || "",
email: userInfo.email || "",
lobby_bypass: true,
},
};
return context;
}
else {
return null;
}
}

Consent

On this website, we use the web analytics service Matomo to analyze and review the use of our website. Through the collected statistics, we can improve our offerings and make them more appealing for you. Here, you can decide whether to allow us to process your data and set corresponding cookies for these purposes, in addition to technically necessary cookies. Further information on data protection—especially regarding "cookies" and "Matomo"—can be found in our privacy policy. You can withdraw your consent at any time.