Skip to content

Commit

Permalink
feat(pci-object-storage): create user modal
Browse files Browse the repository at this point in the history
Signed-off-by: Mohammed Hamdoune <[email protected]>
  • Loading branch information
sidlynx committed Dec 4, 2024
1 parent 1c4a084 commit 0b5da9b
Show file tree
Hide file tree
Showing 27 changed files with 778 additions and 63 deletions.
3 changes: 2 additions & 1 deletion packages/manager/apps/pci-object-storage/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"@ovh-ux/manager-config": "^8.0.0",
"@ovh-ux/manager-core-api": "^0.9.0",
"@ovh-ux/manager-pci-common": "^0.9.1",
"@ovh-ux/manager-react-components": "^1.41.2",
"@ovh-ux/manager-react-components": "^1.43.0",
"@ovh-ux/manager-react-core-application": "^0.11.1",
"@ovh-ux/manager-react-shell-client": "^0.8.1",
"@ovh-ux/manager-tailwind-config": "^0.2.1",
Expand All @@ -30,6 +30,7 @@
"@ovhcloud/ods-theme-blue-jeans": "17.2.2",
"@tanstack/react-query": "^5.51.21",
"@tanstack/react-table": "^8.20.1",
"clsx": "^2.1.1",
"element-internals-polyfill": "^1.3.12",
"i18next": "^23.8.2",
"i18next-http-backend": "^2.5.2",
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"pci_projects_project_storages_containers_add_linked_user_success_message": "Die S3-Login-Daten für den Nutzer {{username}} sind verfügbar.",
"pci_projects_project_storages_containers_add_create_user_success_message": "Der S3-Nutzer {{username}} wurde mit folgenden Login-Daten erstellt:",
"pci_projects_project_storages_containers_add_create_or_linked_user_create_user_fail_message": "Die S3-Login-Daten wurden nicht erstellt.",
"pci_projects_project_storages_containers_add_create_or_linked_user_create_credential_fail_message": "Es war nicht möglich, den Nutzer {{username}} zu erstellen.",
"pci_projects_project_storages_containers_add_create_or_linked_user_create_user_success_username_label": "Ihr S3-Nutzername:",
"pci_projects_project_storages_containers_add_create_or_linked_user_create_user_success_description_label": "Ihre Beschreibung:",
"pci_projects_project_storages_containers_add_create_or_linked_user_create_user_success_access-key_label": "Ihr S3-Zugangsschlüssel:",
"pci_projects_project_storages_containers_add_create_or_linked_user_create_user_success_secret-key_label": "Ihr geheimer S3-Schlüssel:"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"pci_projects_project_storages_containers_add_linked_user_success_message": "S3 credentials for user {{username}} are available.",
"pci_projects_project_storages_containers_add_create_user_success_message": "The S3 user {{username}} was generated with the following credentials:",
"pci_projects_project_storages_containers_add_create_or_linked_user_create_user_fail_message": "S3 credentials not generated.",
"pci_projects_project_storages_containers_add_create_or_linked_user_create_credential_fail_message": "Failed to create user {{username}}.",
"pci_projects_project_storages_containers_add_create_or_linked_user_create_user_success_username_label": "Your S3 username:",
"pci_projects_project_storages_containers_add_create_or_linked_user_create_user_success_description_label": "Your description:",
"pci_projects_project_storages_containers_add_create_or_linked_user_create_user_success_access-key_label": "Your S3 access key:",
"pci_projects_project_storages_containers_add_create_or_linked_user_create_user_success_secret-key_label": "Your S3 secret key:"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"pci_projects_project_storages_containers_add_linked_user_success_message": "Las claves de conexión S3 del usuario {{username}} ya están disponibles.",
"pci_projects_project_storages_containers_add_create_user_success_message": "Se ha generado el usuario S3 {{username}} con las siguientes claves de conexión:",
"pci_projects_project_storages_containers_add_create_or_linked_user_create_user_fail_message": "No se han generado las claves de conexión S3.",
"pci_projects_project_storages_containers_add_create_or_linked_user_create_credential_fail_message": "No se ha podido crear el usuario {{username}}.",
"pci_projects_project_storages_containers_add_create_or_linked_user_create_user_success_username_label": "Su nombre de usuario S3:",
"pci_projects_project_storages_containers_add_create_or_linked_user_create_user_success_description_label": "Su descripción:",
"pci_projects_project_storages_containers_add_create_or_linked_user_create_user_success_access-key_label": "Su clave de acceso S3:",
"pci_projects_project_storages_containers_add_create_or_linked_user_create_user_success_secret-key_label": "Su llave secreta S3:"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"pci_projects_project_storages_containers_add_linked_user_success_message": "Les informations d'identification S3 pour l'utilisateur {{username}} sont disponibles.",
"pci_projects_project_storages_containers_add_create_user_success_message": "L'utilisateur s3 {{username}} a été généré avec les informations d'identification suivantes :",
"pci_projects_project_storages_containers_add_create_or_linked_user_create_user_fail_message": "Les informations d'identification S3 n'ont pas été générées.",
"pci_projects_project_storages_containers_add_create_or_linked_user_create_credential_fail_message": "La création de l'utilisateur {{username}} a échoué.",
"pci_projects_project_storages_containers_add_create_or_linked_user_create_user_success_username_label": "Votre nom d'utilisateur S3 :",
"pci_projects_project_storages_containers_add_create_or_linked_user_create_user_success_description_label": "Votre description :",
"pci_projects_project_storages_containers_add_create_or_linked_user_create_user_success_access-key_label": "Votre clé d'accès S3 :",
"pci_projects_project_storages_containers_add_create_or_linked_user_create_user_success_secret-key_label": "Votre clé secrète S3 :"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"pci_projects_project_storages_containers_add_linked_user_success_message": "Les informations d'identification S3 pour l'utilisateur {{username}} sont disponibles.",
"pci_projects_project_storages_containers_add_create_user_success_message": "L'utilisateur s3 {{username}} a été généré avec les informations d'identification suivantes :",
"pci_projects_project_storages_containers_add_create_or_linked_user_create_user_fail_message": "Les informations d'identification S3 n'ont pas été générées.",
"pci_projects_project_storages_containers_add_create_or_linked_user_create_credential_fail_message": "La création de l'utilisateur {{username}} a échoué.",
"pci_projects_project_storages_containers_add_create_or_linked_user_create_user_success_username_label": "Votre nom d'utilisateur S3 :",
"pci_projects_project_storages_containers_add_create_or_linked_user_create_user_success_description_label": "Votre description :",
"pci_projects_project_storages_containers_add_create_or_linked_user_create_user_success_access-key_label": "Votre clé d'accès S3 :",
"pci_projects_project_storages_containers_add_create_or_linked_user_create_user_success_secret-key_label": "Votre clé secrète S3 :"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"pci_projects_project_storages_containers_add_linked_user_success_message": "Le informazioni di identificazione S3 per l'utente {{username}} sono disponibili.",
"pci_projects_project_storages_containers_add_create_user_success_message": "L'utente S3 {{username}} è stato generato con queste informazioni di identificazione:",
"pci_projects_project_storages_containers_add_create_or_linked_user_create_user_fail_message": "Le informazioni di identificazione S3 non sono state generate.",
"pci_projects_project_storages_containers_add_create_or_linked_user_create_credential_fail_message": "La creazione dell'utente {{username}} non è andata a buon fine.",
"pci_projects_project_storages_containers_add_create_or_linked_user_create_user_success_username_label": "Il tuo nome utente S3:",
"pci_projects_project_storages_containers_add_create_or_linked_user_create_user_success_description_label": "La tua descrizione:",
"pci_projects_project_storages_containers_add_create_or_linked_user_create_user_success_access-key_label": "La tua chiave di accesso S3:",
"pci_projects_project_storages_containers_add_create_or_linked_user_create_user_success_secret-key_label": "La tua chiave segreta S3:"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"pci_projects_project_storages_containers_add_linked_user_success_message": "Dane identyfikacyjne S3 dla użytkownika {{username}} są dostępne.",
"pci_projects_project_storages_containers_add_create_user_success_message": "Użytkownik S3 {{username}} został wygenerowany z następującymi danymi identyfikacyjnymi:",
"pci_projects_project_storages_containers_add_create_or_linked_user_create_user_fail_message": "Dane identyfikacyjne S3 nie zostały wygenerowane.",
"pci_projects_project_storages_containers_add_create_or_linked_user_create_credential_fail_message": "Utworzenie użytkownika {{username}} nie powiodło się.",
"pci_projects_project_storages_containers_add_create_or_linked_user_create_user_success_username_label": "Nazwa użytkownika S3:",
"pci_projects_project_storages_containers_add_create_or_linked_user_create_user_success_description_label": "Opis:",
"pci_projects_project_storages_containers_add_create_or_linked_user_create_user_success_access-key_label": "Klucz dostępowy S3:",
"pci_projects_project_storages_containers_add_create_or_linked_user_create_user_success_secret-key_label": "Tajny klucz S3:"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"pci_projects_project_storages_containers_add_linked_user_success_message": "As informações de identificação S3 para o utilizador {{username}} estão disponíveis.",
"pci_projects_project_storages_containers_add_create_user_success_message": "O utilizador S3 {{username}} foi gerado com as seguintes informações de identificação:",
"pci_projects_project_storages_containers_add_create_or_linked_user_create_user_fail_message": "As informações de identificação S3 não foram geradas.",
"pci_projects_project_storages_containers_add_create_or_linked_user_create_credential_fail_message": "A criação do utilizador {{username}} falhou.",
"pci_projects_project_storages_containers_add_create_or_linked_user_create_user_success_username_label": "O seu nome de utilizador S3:",
"pci_projects_project_storages_containers_add_create_or_linked_user_create_user_success_description_label": "A sua descrição:",
"pci_projects_project_storages_containers_add_create_or_linked_user_create_user_success_access-key_label": "A sua chave de acesso S3:",
"pci_projects_project_storages_containers_add_create_or_linked_user_create_user_success_secret-key_label": "A sua chave secreta S3:"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"pci_projects_project_users_add_title": "Einen S3-Nutzer hinzufügen",
"pci_projects_project_users_add_short_description": "Bitte fügen Sie Ihrem Container einen Nutzer hinzu, um auf den Object Storage zuzugreifen. Wählen Sie dazu einen bestehenden Nutzer aus, oder erstellen Sie einen neuen. Jedem Nutzer (OpenStack) wird ein oder mehrere Paare von S3-Schlüsseln, die S3-Zugangsdaten, zugewiesen. Sie bestehen jeweils aus einem „Access Key“ und einem „Secret Key“.",
"pci_projects_project_users_add_submit_label": "Erstellen",
"pci_projects_project_users_add_cancel_label": "Abbrechen",
"pci_projects_project_users_add_description_label": "Beschreibung des Nutzers",
"pci_projects_project_users_add_existing_user": "Einen bestehenden Nutzer auswählen",
"pci_projects_project_users_add_create_user": "Einen neuen Nutzer erstellen",
"pci_projects_project_users_add_success_message": "Die S3-Login-Daten für den Nutzer {{user}} wurden erstellt.",
"pci_projects_project_users_add_error_message": "Die S3-Login-Daten für den Nutzer {{user}} konnten nicht erstellt werden.",
"pci_projects_project_users_add_username": "Ihr OpenStack-Nutzername:",
"pci_projects_project_users_add_description": "Ihre Beschreibung:",
"pci_projects_project_users_add_accesskey": "Ihr S3-Zugangsschlüssel:",
"pci_projects_project_users_add_secretkey": "Ihr geheimer S3-Schlüssel:",
"pci_projects_project_users_add_as_no_credentials": "Keine Zugangsdaten",
"pci_projects_project_users_add_as_credentials": "Erstellte Zugangsdaten",
"pci_projects_project_users_add_info_banner": "Neue User haben automatisch Zugriff auf alle Container in den Local Zones."
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"pci_projects_project_users_add_title": "Add S3 user",
"pci_projects_project_users_add_short_description": "To access object storage, please add a user to your container. You can select an existing user or create a new user. Each user (OpenStack) will be linked to one or more S3 key pairs (S3 credentials), each consisting of an 'Access Key' and a 'Secret Key'.",
"pci_projects_project_users_add_submit_label": "Create",
"pci_projects_project_users_add_cancel_label": "Cancel",
"pci_projects_project_users_add_description_label": "User description",
"pci_projects_project_users_add_existing_user": "Select an existing user",
"pci_projects_project_users_add_create_user": "Create a new user",
"pci_projects_project_users_add_success_message": "S3 credentials for user {{user}} have been generated",
"pci_projects_project_users_add_error_message": "S3 credentials for user {{user}} could not be generated.",
"pci_projects_project_users_add_username": "Your OpenStack username:",
"pci_projects_project_users_add_description": "Your description:",
"pci_projects_project_users_add_accesskey": "Your S3 access key:",
"pci_projects_project_users_add_secretkey": "Your S3 secret key:",
"pci_projects_project_users_add_as_no_credentials": "No credentials",
"pci_projects_project_users_add_as_credentials": "Credentials generated",
"pci_projects_project_users_add_info_banner": "New users will automatically have access to all containers in Local Zones."
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"pci_projects_project_users_add_title": "Añadir un usuario S3",
"pci_projects_project_users_add_short_description": "Añada un usuario a su contenedor para acceder al almacenamiento de objetos. Puede seleccionar un usuario existente o crear uno nuevo. Cada usuario (OpenStack) se asociará a uno o más pares de claves S3 compuestas cada una por una clave de acceso («Access Key») y una clave secreta («Secret Key»).",
"pci_projects_project_users_add_submit_label": "Crear",
"pci_projects_project_users_add_cancel_label": "Cancelar",
"pci_projects_project_users_add_description_label": "Descripción del usuario",
"pci_projects_project_users_add_existing_user": "Seleccionar un usuario existente",
"pci_projects_project_users_add_create_user": "Crear un nuevo usuario",
"pci_projects_project_users_add_success_message": "Se han generado las claves de conexión S3 del usuario {{user}}.",
"pci_projects_project_users_add_error_message": "No se han podido generar las claves de conexión S3 para el usuario {{user}}.",
"pci_projects_project_users_add_username": "Su nombre de usuario OpenStack:",
"pci_projects_project_users_add_description": "Su descripción:",
"pci_projects_project_users_add_accesskey": "Su clave de acceso S3:",
"pci_projects_project_users_add_secretkey": "Su clave secreta S3:",
"pci_projects_project_users_add_as_no_credentials": "Sin claves",
"pci_projects_project_users_add_as_credentials": "Claves generadas",
"pci_projects_project_users_add_info_banner": "Los nuevos usuarios tendrán acceso automáticamente a todos los contenedores en las Local Zones."
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"pci_projects_project_users_add_title": "Ajouter un utilisateur S3",
"pci_projects_project_users_add_short_description": "Afin d'accéder au stockage objet, veuillez ajouter un utilisateur à votre conteneur. Vous pouvez sélectionner un utilisateur existant ou en créer un nouveau. Chaque utilisateur (OpenStack) sera associé à une ou plusieurs paires de clés S3 (les credentials S3) composées chacune d'un 'Access Key' et d'un 'Secret Key'.",
"pci_projects_project_users_add_submit_label": "Créer",
"pci_projects_project_users_add_cancel_label": "Annuler",
"pci_projects_project_users_add_description_label": "Description de l'utilisateur",
"pci_projects_project_users_add_existing_user": "Sélectionner un utilisateur existant",
"pci_projects_project_users_add_create_user": "Créer un nouvel utilisateur",
"pci_projects_project_users_add_success_message": "Les informations d'identification S3 pour l'utilisateur {{user}} ont été générées",
"pci_projects_project_users_add_error_message": "Les informations d'identification S3 pour l'utilisateur {{user}} n'ont pas pu être générées.",
"pci_projects_project_users_add_username": "Votre nom d'utilisateur OpenStack :",
"pci_projects_project_users_add_description": "Votre description :",
"pci_projects_project_users_add_accesskey": "Votre clé d'accès S3 :",
"pci_projects_project_users_add_secretkey": "Votre clé secrète S3 :",
"pci_projects_project_users_add_as_no_credentials": "Pas de credentials",
"pci_projects_project_users_add_as_credentials": "Credentials générés",
"pci_projects_project_users_add_info_banner": "Les nouveaux utilisateurs auront automatiquement accès à tous les conteneurs dans les Local Zones."
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"pci_projects_project_users_add_title": "Ajouter un utilisateur S3",
"pci_projects_project_users_add_short_description": "Afin d'accéder au stockage objet, veuillez ajouter un utilisateur à votre conteneur. Vous pouvez sélectionner un utilisateur existant ou en créer un nouveau. Chaque utilisateur (OpenStack) sera associé à une ou plusieurs paires de clés S3 (les credentials S3) composées chacune d'un 'Access Key' et d'un 'Secret Key'.",
"pci_projects_project_users_add_submit_label": "Créer",
"pci_projects_project_users_add_cancel_label": "Annuler",
"pci_projects_project_users_add_description_label": "Description de l'utilisateur",
"pci_projects_project_users_add_existing_user": "Sélectionner un utilisateur existant",
"pci_projects_project_users_add_create_user": "Créer un nouvel utilisateur",
"pci_projects_project_users_add_success_message": "Les informations d'identification S3 pour l'utilisateur {{user}} ont été générées",
"pci_projects_project_users_add_error_message": "Les informations d'identification S3 pour l'utilisateur {{user}} n'ont pas pu être générées.",
"pci_projects_project_users_add_username": "Votre nom d'utilisateur OpenStack :",
"pci_projects_project_users_add_description": "Votre description :",
"pci_projects_project_users_add_accesskey": "Votre clé d'accès S3 :",
"pci_projects_project_users_add_secretkey": "Votre clé secrète S3 :",
"pci_projects_project_users_add_as_no_credentials": "Pas de credentials",
"pci_projects_project_users_add_as_credentials": "Credentials générés",
"pci_projects_project_users_add_info_banner": "Les nouveaux utilisateurs auront automatiquement accès à tous les conteneurs dans les Local Zones."
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"pci_projects_project_users_add_title": "Aggiungi un utente S3",
"pci_projects_project_users_add_short_description": "Aggiungi un utente al tuo container per accedere all’object storage. È possibile selezionare un utente esistente o crearne uno nuovo. Ogni utente (OpenStack) sarà associato a una o più coppie di chiavi S3 (credenziali S3) composte da a chiave di accesso (Access Key) e una chiave segreta (Secret Key).",
"pci_projects_project_users_add_submit_label": "Crea",
"pci_projects_project_users_add_cancel_label": "Annullare",
"pci_projects_project_users_add_description_label": "Descrizione dell'utente",
"pci_projects_project_users_add_existing_user": "Seleziona un utente esistente",
"pci_projects_project_users_add_create_user": "Crea un nuovo utente",
"pci_projects_project_users_add_success_message": "Le informazioni di identificazione S3 per l'utente {{user}} sono state generate",
"pci_projects_project_users_add_error_message": "Impossibile generare le informazioni di identificazione S3 per l'utente {{user}}.",
"pci_projects_project_users_add_username": "Il tuo nome utente OpenStack:",
"pci_projects_project_users_add_description": "La tua descrizione:",
"pci_projects_project_users_add_accesskey": "La tua chiave di accesso S3:",
"pci_projects_project_users_add_secretkey": "La tua chiave segreta S3:",
"pci_projects_project_users_add_as_no_credentials": "Nessuna credenziale",
"pci_projects_project_users_add_as_credentials": "Credenziali generate",
"pci_projects_project_users_add_info_banner": "I nuovi utenti avranno automaticamente accesso a tutti i container nelle Local Zone."
}
Loading

0 comments on commit 0b5da9b

Please sign in to comment.