- Your session has expired, a connection error has occurred, or you are no longer authorized to access
- that
- assessment.
- Please log in again.
+ {{t('dialogs.access denied 1')}}
+ {{t('dialogs.access denied 2')}}
diff --git a/CSETWebNg/src/app/dialogs/roles-changed/roles-changed.component.html b/CSETWebNg/src/app/dialogs/roles-changed/roles-changed.component.html
new file mode 100644
index 0000000000..94c4dd9494
--- /dev/null
+++ b/CSETWebNg/src/app/dialogs/roles-changed/roles-changed.component.html
@@ -0,0 +1,34 @@
+
+
+
+
+ {{t('dialogs.access denied 3')}}
+
+
+
+
+
\ No newline at end of file
diff --git a/CSETWebNg/src/app/dialogs/roles-changed/roles-changed.component.ts b/CSETWebNg/src/app/dialogs/roles-changed/roles-changed.component.ts
new file mode 100644
index 0000000000..a20d4deb68
--- /dev/null
+++ b/CSETWebNg/src/app/dialogs/roles-changed/roles-changed.component.ts
@@ -0,0 +1,43 @@
+////////////////////////////////
+//
+// Copyright 2024 Battelle Energy Alliance, LLC
+//
+// Permission is hereby granted, free of charge, to any person obtaining a copy
+// of this software and associated documentation files (the "Software"), to deal
+// in the Software without restriction, including without limitation the rights
+// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+// copies of the Software, and to permit persons to whom the Software is
+// furnished to do so, subject to the following conditions:
+//
+// The above copyright notice and this permission notice shall be included in all
+// copies or substantial portions of the Software.
+//
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+// SOFTWARE.
+//
+////////////////////////////////
+import { Component, OnInit } from '@angular/core';
+import { MatDialogRef } from '@angular/material/dialog';
+
+@Component({
+ selector: 'app-roles-changed',
+ templateUrl: './roles-changed.component.html',
+ // eslint-disable-next-line
+ host: { class: 'd-flex flex-column flex-11a' }
+})
+export class RolesChangedComponent implements OnInit {
+ constructor(private dialog: MatDialogRef) { }
+
+ ngOnInit() {
+ sessionStorage.setItem('hasUserAgreedToPrivacyWarning', 'true');
+ }
+
+ close() {
+ return this.dialog.close();
+ }
+}
diff --git a/CSETWebNg/src/assets/i18n/en.json b/CSETWebNg/src/assets/i18n/en.json
index 48a7dba8c0..278df14a73 100644
--- a/CSETWebNg/src/assets/i18n/en.json
+++ b/CSETWebNg/src/assets/i18n/en.json
@@ -639,7 +639,11 @@
"export assessment title": "Export Assessment Options",
"scrub pcii": "Select to remove PCII fields from export",
"encrypt 1": "To encrypt your assessment, please enter a password.",
- "encrypt 2": "If you proceed without entering a password, no encryption will be used."
+ "encrypt 2": "If you proceed without entering a password, no encryption will be used.",
+ "access denied": "Access Denied",
+ "access denied 1": "Your session has expired, a connection error has occurred, or you are no longer authorized to access that assessment.",
+ "access denied 2": "Please log in again.",
+ "access denied 3": "Your role on this assessment has been changed by another user."
},
"reports": {
"launch": {
diff --git a/CSETWebNg/src/assets/i18n/es.json b/CSETWebNg/src/assets/i18n/es.json
index 7de98fa3c6..8fa2e5c022 100644
--- a/CSETWebNg/src/assets/i18n/es.json
+++ b/CSETWebNg/src/assets/i18n/es.json
@@ -542,7 +542,11 @@
"export assessment title": "Opciones de evaluación de exportación",
"scrub pcii": "Seleccione para eliminar los campos PCII de la exportación",
"encrypt 1": "Para cifrar su evaluación, ingrese una contraseña.",
- "encrypt 2": "Si continúa sin ingresar una contraseña, no se utilizará ningún cifrado."
+ "encrypt 2": "Si continúa sin ingresar una contraseña, no se utilizará ningún cifrado.",
+ "access denied": "Acceso denegado",
+ "access denied 1": "Su sesión expiró, se produjo un error de conexión o ya no está autorizado a acceder a esa evaluación.",
+ "access denied 2": "Por favor inicia sesión nuevamente.",
+ "access denied 3": "Otro usuario ha cambiado su función en esta evaluación."
},
"reports": {
"assessment complete message": "Gracias por completar su evaluación. Los informes en esta página capturan resúmenes de sus resultados que pueden ayudar en la planificación y crecimiento de la ciberseguridad de su organización en el futuro. La evaluación fue actualizada por última vez el {date}.",
diff --git a/CSETWebNg/src/assets/i18n/uk.json b/CSETWebNg/src/assets/i18n/uk.json
index d9ca9e7e2d..ce4d457819 100644
--- a/CSETWebNg/src/assets/i18n/uk.json
+++ b/CSETWebNg/src/assets/i18n/uk.json
@@ -491,7 +491,11 @@
"export assessment title": "Параметри експортної оцінки",
"scrub pcii": "Виберіть, щоб видалити поля PCII з експорту",
"encrypt 1": "Щоб зашифрувати свою оцінку, введіть пароль.",
- "encrypt 2": "Якщо ви продовжите без введення пароля, шифрування не використовуватиметься."
+ "encrypt 2": "Якщо ви продовжите без введення пароля, шифрування не використовуватиметься.",
+ "access denied": "Доступ заборонено",
+ "access denied 1": "Ваш сеанс закінчився, сталася помилка підключення або ви більше не маєте доступу до цього оцінювання.",
+ "access denied 2": "Будь ласка, увійдіть знову.",
+ "access denied 3": "Вашу роль у цьому оцінюванні змінив інший користувач."
},
"reports": {
"launch": {