feat(i18n): add biometric-related translations and update navigation permissions

This commit is contained in:
nati14575
2026-08-28 14:38:56 +03:00
parent 5006e4685b
commit a66eef352c
6 changed files with 20 additions and 2 deletions

View File

@@ -42,6 +42,12 @@ const APPLICATION_QUEUE = [P.VIEW_APPLICATION_QUEUE, P.VIEW_APPLICATIONS];
*/
const SEAFARER_QUEUE = [P.VIEW_SEAFARER_REGISTRY, ...APPLICATION_QUEUE];
const BIOMETRIC_ENROLLMENT = [
P.ENROLL_BIOMETRICS,
P.VIEW_BIOMETRICS,
P.VIEW_SEAFARER_REGISTRY,
];
/**
* The backoffice information architecture.
*
@@ -149,7 +155,7 @@ export const NAV_SECTIONS: NavSection[] = [
to: "/biometric-enrollment",
label: "nav.biometricEnrollment",
icon: IconFingerprint,
permissions: [P.ENROLL_BIOMETRICS, P.VIEW_BIOMETRICS],
permissions: BIOMETRIC_ENROLLMENT,
},
{
to: "/seafarer-registrations",