Context

Every entity inside DTZ needs to have a parent context. This represents the organizational structure to hold an entity, allow access control, and provides accounting and billing. Every user has by default attached to its session. So whenever a user is logged in, regardless of the method (apikey, oauth, etc.) the session already has a context attached to it.

flowchart LR 
  uid[Identité utilisateur] -- "a accès" --> context
  subgraph context
  Context[Cœur du contexte] -- "possède" --> Objectstore
  Context -- "possède" --> Containers
  Context -- "possède" --> Rss2Email
  Context -- "possède" --> E@{ shape: processes, label: "Autres services"}
  end

The current context is always shown in the title bar on the top left.

Contexte DTZ

Changing the context can be achieved by selecting the new context from the drop-down menu.

Le changement de contexte peut se faire en sélectionnant le nouveau contexte dans le menu déroulant.

A new context can be created through the main page or the following link.

Un nouveau contexte peut être créé via la page principale ou le lien suivant.

https://dtz.rocks/new/ | Nouveau contexte

In Terraform, the context is implicitly derived from the user session or fetched using the dtz_context data source—even if it’s not explicitly declared in the resource block.

Dans Terraform, le contexte est dérivé implicitement de la session utilisateur ou récupéré en utilisant la source de données dtz_context — même s’il n’est pas déclaré explicitement dans le bloc de ressource.

Context Admin

Context admin is a role that allow the owning identity the right to control rights and roles regarding the context. The creator of the context always gets assigned the role of context admin.

L’administrateur de contexte est un rôle qui permet à l’identité propriétaire le droit de contrôler les droits et les rôles relatifs au contexte. Le créateur du contexte se voit toujours attribuer le rôle d’administrateur de contexte.

Also a new identity is created for the context, which serves as service principle within the context. The identity is created with the following alias.

De plus, une nouvelle identité est créée pour le contexte, qui sert de principal de service au sein du contexte. L’identité est créée avec l’alias suivant.

admin@{context_id}.dtz.rocks

All Context admins automatically get access to all used services within the context.

Tous les administrateurs du contexte obtiennent automatiquement l’accès à tous les services utilisés au sein du contexte.