From 575e7148303637d2d7558a58741194e7d5b5e556 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Uwe=20J=C3=A4ger?= Date: Thu, 25 Apr 2024 14:07:30 +0200 Subject: [PATCH] feat: Add field unrestricted to appliction credentials Change-Id: I68b413eecc78720b0481f8ed6a29660b666ee6d1 --- src/locales/en.json | 2 ++ src/locales/ko-kr.json | 2 ++ src/locales/ru.json | 2 ++ src/locales/tr-tr.json | 2 ++ src/locales/zh-hans.json | 2 ++ .../containers/Credentials/actions/Create.jsx | 9 +++++++++ 6 files changed, 19 insertions(+) diff --git a/src/locales/en.json b/src/locales/en.json index 33d88d0b..9184c024 100644 --- a/src/locales/en.json +++ b/src/locales/en.json @@ -288,6 +288,7 @@ "Burkina Faso": "Burkina Faso", "Burst limit": "Burst limit", "Burundi": "Burundi", + "By default, for security reasons, application credentials are forbidden from being used for creating additional application credentials or keystone trusts. If your application credential needs to be able to perform these actions, check unrestricted.": "By default, for security reasons, application credentials are forbidden from being used for creating additional application credentials or keystone trusts. If your application credential needs to be able to perform these actions, check unrestricted.", "CA Certificate": "CA Certificate", "CA Certificates": "CA Certificates", "CHECK COMPLETE": "CHECK COMPLETE", @@ -2649,6 +2650,7 @@ "Unpause Container": "Unpause Container", "Unpause Instance": "Unpause Instance", "Unrescuing": "Unrescuing", + "Unrestricted": "Unrestricted", "Unset": "Unset", "Unshelve": "Unshelve", "Unshelve Instance": "Unshelve Instance", diff --git a/src/locales/ko-kr.json b/src/locales/ko-kr.json index 9f57243b..68361082 100644 --- a/src/locales/ko-kr.json +++ b/src/locales/ko-kr.json @@ -288,6 +288,7 @@ "Burkina Faso": "부르키나 파소", "Burst limit": "버스티 제한", "Burundi": "부룬디", + "By default, for security reasons, application credentials are forbidden from being used for creating additional application credentials or keystone trusts. If your application credential needs to be able to perform these actions, check unrestricted.": "", "CA Certificate": "CA 인증서", "CA Certificates": "CA 인증서", "CHECK COMPLETE": "검사 완료", @@ -2649,6 +2650,7 @@ "Unpause Container": "컨테이너 일시 중지 해제", "Unpause Instance": "인스턴스 일시 중지 해제", "Unrescuing": "인스턴스 구조", + "Unrestricted": "", "Unset": "해제", "Unshelve": "복원", "Unshelve Instance": "복원 인스턴스", diff --git a/src/locales/ru.json b/src/locales/ru.json index aed63fdf..3f244cd1 100644 --- a/src/locales/ru.json +++ b/src/locales/ru.json @@ -288,6 +288,7 @@ "Burkina Faso": "Буркина-Фасо", "Burst limit": "Лимит всплеска", "Burundi": "Бурунди", + "By default, for security reasons, application credentials are forbidden from being used for creating additional application credentials or keystone trusts. If your application credential needs to be able to perform these actions, check unrestricted.": "", "CA Certificate": "Сертификат ЦС", "CA Certificates": "Сертификаты ЦС", "CHECK COMPLETE": "ПРОВЕРКА ЗАВЕРШЕНА", @@ -2649,6 +2650,7 @@ "Unpause Container": "Возобновить контейнер", "Unpause Instance": "Возобновить инстанс", "Unrescuing": "Отмена спасения", + "Unrestricted": "", "Unset": "Сбросить", "Unshelve": "Вернуть на полку", "Unshelve Instance": "Вернуть инстанс с полки", diff --git a/src/locales/tr-tr.json b/src/locales/tr-tr.json index 12b9e3b2..ae2dc06d 100644 --- a/src/locales/tr-tr.json +++ b/src/locales/tr-tr.json @@ -288,6 +288,7 @@ "Burkina Faso": "Burkina Faso", "Burst limit": "Ek Sınır", "Burundi": "Burundi", + "By default, for security reasons, application credentials are forbidden from being used for creating additional application credentials or keystone trusts. If your application credential needs to be able to perform these actions, check unrestricted.": "", "CA Certificate": "CA Sertifikası", "CA Certificates": "CA Sertifikaları", "CHECK COMPLETE": "KONTROL TAMAMLANDI", @@ -2649,6 +2650,7 @@ "Unpause Container": "Konteynırın Duraklatmasını Kaldır", "Unpause Instance": "Sanal Makinenin Duraklatmasını Kaldır", "Unrescuing": "Kurtarmadan çıkarma", + "Unrestricted": "", "Unset": "Ayarlanmamış", "Unshelve": "Rafa kaldırmayı kaldır", "Unshelve Instance": "Sanal Makineyi Rafını Kaldır", diff --git a/src/locales/zh-hans.json b/src/locales/zh-hans.json index 538c7248..57db5701 100644 --- a/src/locales/zh-hans.json +++ b/src/locales/zh-hans.json @@ -288,6 +288,7 @@ "Burkina Faso": "布基纳法索", "Burst limit": "突发限制", "Burundi": "布隆迪", + "By default, for security reasons, application credentials are forbidden from being used for creating additional application credentials or keystone trusts. If your application credential needs to be able to perform these actions, check unrestricted.": "", "CA Certificate": "CA证书", "CA Certificates": "CA证书", "CHECK COMPLETE": "检查完成", @@ -2649,6 +2650,7 @@ "Unpause Container": "恢复容器", "Unpause Instance": "恢复云主机", "Unrescuing": "", + "Unrestricted": "", "Unset": "取消设置", "Unshelve": "取消归档", "Unshelve Instance": "取消归档云主机", diff --git a/src/pages/user-center/containers/Credentials/actions/Create.jsx b/src/pages/user-center/containers/Credentials/actions/Create.jsx index 8e2ee210..09b7193c 100644 --- a/src/pages/user-center/containers/Credentials/actions/Create.jsx +++ b/src/pages/user-center/containers/Credentials/actions/Create.jsx @@ -99,6 +99,15 @@ export class Create extends ModalAction { ), span: 12, }, + { + name: 'unrestricted', + label: t('Unrestricted'), + type: 'check', + content: t('Unrestricted'), + extra: t( + 'By default, for security reasons, application credentials are forbidden from being used for creating additional application credentials or keystone trusts. If your application credential needs to be able to perform these actions, check unrestricted.' + ), + }, { name: 'description', label: t('Description'),