From 02b4a8ce56f33e119856a966e48ebb85cecb3654 Mon Sep 17 00:00:00 2001 From: BatLeDev Date: Thu, 1 Oct 2026 11:22:09 +0200 Subject: [PATCH 01/16] fix(partners): the removal warning says partner permissions are withdrawn data-fair and processings remove the permissions granted to an organization that is no longer in the partners list of the identity webhook, so the old warning (permissions not modified, do it yourself) was wrong. --- api/i18n/de.js | 2 +- api/i18n/en.js | 2 +- api/i18n/es.js | 2 +- api/i18n/fr.js | 2 +- api/i18n/it.js | 2 +- api/i18n/pt.js | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/api/i18n/de.js b/api/i18n/de.js index ec640a90..71f2402f 100644 --- a/api/i18n/de.js +++ b/api/i18n/de.js @@ -300,7 +300,7 @@ Peut valoir 'anonym', 'authentifiziert' oder 'admin'.`, deletePartner: 'Löschen Sie diesen Partner', depSortCreation: 'Zuletzt erstellt', depSortAlpha: 'Alphabetische Reihenfolge', - deletePartnerWarning: 'Achtung! Die Berechtigungen, die der Partnerorganisation gewährt wurden, werden durch diese Operation nicht geändert. Sie sollten diese wahrscheinlich selbst ändern.', + deletePartnerWarning: 'Die Berechtigungen, die dieser Organisation für Ihre Ressourcen gewährt wurden, werden ihr entzogen.', fromCache: 'Letzte Synchronisierung dieser Liste mit dem Identitätsanbieter: {fromNow}.', roleLabel: 'Bezeichnung der Rolle "{role}"', nhisTitle: 'Dienstkonten (nicht-menschliche Identitäten)', diff --git a/api/i18n/en.js b/api/i18n/en.js index e3892df5..1110e8f7 100644 --- a/api/i18n/en.js +++ b/api/i18n/en.js @@ -302,7 +302,7 @@ Can be 'anonymous', 'authenticated' or 'admin'.`, deletePartner: 'Delete this partner', depSortCreation: 'Last created', depSortAlpha: 'Alphabetical order', - deletePartnerWarning: 'Warning: permissions granted to the partner organization will not be modified by this operation. You should probably modify them yourself.', + deletePartnerWarning: 'Permissions granted to this organization on your resources will be withdrawn.', fromCache: 'Last synchronization of this list with the identity provider: {fromNow}.', roleLabel: 'Label for the role "{role}"', nhisTitle: 'Service accounts (non-human identities)', diff --git a/api/i18n/es.js b/api/i18n/es.js index 5957d6f0..eb36a7d3 100644 --- a/api/i18n/es.js +++ b/api/i18n/es.js @@ -300,7 +300,7 @@ Puede ser 'anonymous', 'authenticated' o 'admin'.`, deletePartner: 'Eliminar este socio', depSortCreation: 'Última creación', depSortAlpha: 'Orden alfabético', - deletePartnerWarning: 'Atención, los permisos concedidos a la organización asociada no se modificarán con esta operación. Probablemente deberá modificarlos usted mismo.', + deletePartnerWarning: 'Se retirarán los permisos concedidos a esta organización sobre sus recursos.', fromCache: 'Última sincronización de esta lista con el proveedor de identidad: {fromNow}.', roleLabel: 'Etiqueta del rol "{role}"', nhisTitle: 'Cuentas de servicio (identidades no humanas)', diff --git a/api/i18n/fr.js b/api/i18n/fr.js index 1bb8876c..64929deb 100644 --- a/api/i18n/fr.js +++ b/api/i18n/fr.js @@ -302,7 +302,7 @@ Peut valoir 'anonymous', 'authenticated' ou 'admin'.`, deletePartner: 'Supprimer ce partenaire', depSortCreation: 'Derniers créés', depSortAlpha: 'Ordre alphabétique', - deletePartnerWarning: 'Attention les permissions accordées à l\'organisation partenaire ne seront pas modifiées par cette opération. Vous devriez probablement aller les modifier vous-même.', + deletePartnerWarning: 'Les permissions accordées à cette organisation sur vos ressources lui seront retirées.', fromCache: 'Dernière synchronisation de cette liste avec le fournisseur d\'identités : {fromNow}.', roleLabel: 'Libellé du rôle "{role}"', nhisTitle: 'Comptes de service (identités non humaines)', diff --git a/api/i18n/it.js b/api/i18n/it.js index 5060f5df..762278b9 100644 --- a/api/i18n/it.js +++ b/api/i18n/it.js @@ -300,7 +300,7 @@ Può essere 'anonimo', 'autenticato' o 'admin'.`, deletePartner: 'Elimina questo partner', depSortCreation: 'Ultimo creato', depSortAlpha: 'Ordine alfabetico', - deletePartnerWarning: 'Attenzione le autorizzazioni concesse all\'organizzazione partner non saranno modificate da questa operazione. Dovresti probabilmente modificarle tu stesso.', + deletePartnerWarning: 'Le autorizzazioni concesse a questa organizzazione sulle vostre risorse le saranno revocate.', fromCache: 'Ultima sincronizzazione di questo elenco con il provider di identità: {fromNow}.', roleLabel: 'Etichetta del ruolo "{role}"', nhisTitle: 'Account di servizio (identità non umane)', diff --git a/api/i18n/pt.js b/api/i18n/pt.js index a467073e..b44e869a 100644 --- a/api/i18n/pt.js +++ b/api/i18n/pt.js @@ -300,7 +300,7 @@ Pode ser 'anónimo', 'autenticado' ou 'administrador'.`, deletePartner: 'Eliminar este parceiro', depSortCreation: 'Último criado', depSortAlpha: 'Ordem alfabética', - deletePartnerWarning: 'Atenção, as permissões concedidas à organização parceira não serão modificadas por esta operação. Provavelmente deve ir modificá-las.', + deletePartnerWarning: 'As permissões concedidas a esta organização sobre os seus recursos serão retiradas.', fromCache: 'Última sincronização desta lista com o provedor de identidade: {fromNow}.', roleLabel: 'Nome do papel "{role}"', nhisTitle: 'Contas de serviço (identidades não humanas)', From a379626a7bba404acb38be6be4ab7f80c6b709bf Mon Sep 17 00:00:00 2001 From: BatLeDev Date: Thu, 1 Oct 2026 11:22:49 +0200 Subject: [PATCH 02/16] fix(organizations): lock the settings form for members who are not admins The organization avatar widget and the 2FA roles selector stayed editable and the save button was shown to a simple member, while the other fields were disabled and the API refuses the change. --- ui/src/pages/organization/[id]/index.vue | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/ui/src/pages/organization/[id]/index.vue b/ui/src/pages/organization/[id]/index.vue index 2eab3623..6cd10421 100644 --- a/ui/src/pages/organization/[id]/index.vue +++ b/ui/src/pages/organization/[id]/index.vue @@ -28,7 +28,7 @@ - + Date: Thu, 1 Oct 2026 11:23:07 +0200 Subject: [PATCH 03/16] fix(nhis): hide the avatar widget of a service account when user avatars are disabled --- ui/src/components/edit-nhi-menu.vue | 1 + 1 file changed, 1 insertion(+) diff --git a/ui/src/components/edit-nhi-menu.vue b/ui/src/components/edit-nhi-menu.vue index 9411065d..d1fb0f8c 100644 --- a/ui/src/components/edit-nhi-menu.vue +++ b/ui/src/components/edit-nhi-menu.vue @@ -23,6 +23,7 @@ From d052bba449ce41b1ac556ae9cfd583896247e643 Mon Sep 17 00:00:00 2001 From: BatLeDev Date: Thu, 1 Oct 2026 11:23:44 +0200 Subject: [PATCH 04/16] fix(ui): use the admin color on every superadmin-only action Impersonation from the members list, service account creation and edition and the direct partner addition used primary or warning, unlike the same actions in /admin/users. --- ui/src/components/add-nhi-menu.vue | 4 ++-- ui/src/components/add-partner-superadmin-menu.vue | 2 +- ui/src/components/edit-nhi-menu.vue | 2 +- ui/src/components/organization-members.vue | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/ui/src/components/add-nhi-menu.vue b/ui/src/components/add-nhi-menu.vue index d220be81..5f085fd1 100644 --- a/ui/src/components/add-nhi-menu.vue +++ b/ui/src/components/add-nhi-menu.vue @@ -7,7 +7,7 @@ diff --git a/ui/src/components/add-partner-superadmin-menu.vue b/ui/src/components/add-partner-superadmin-menu.vue index 254673e4..839abf18 100644 --- a/ui/src/components/add-partner-superadmin-menu.vue +++ b/ui/src/components/add-partner-superadmin-menu.vue @@ -55,7 +55,7 @@ {{ $t('common.confirmCancel') }} diff --git a/ui/src/components/edit-nhi-menu.vue b/ui/src/components/edit-nhi-menu.vue index d1fb0f8c..e25f2cc0 100644 --- a/ui/src/components/edit-nhi-menu.vue +++ b/ui/src/components/edit-nhi-menu.vue @@ -123,7 +123,7 @@ {{ $t('common.confirmCancel') }} diff --git a/ui/src/components/organization-members.vue b/ui/src/components/organization-members.vue index 049b3261..19aee2c1 100644 --- a/ui/src/components/organization-members.vue +++ b/ui/src/components/organization-members.vue @@ -184,7 +184,7 @@ :title="$t('common.asAdmin')" :aria-label="$t('common.asAdmin')" :icon="mdiAccountSwitch" - color="warning" + color="admin" variant="text" density="compact" :disabled="!member.emailConfirmed" From babf9d8b9695d3aed78822643bf3a0d25ebd0819 Mon Sep 17 00:00:00 2001 From: BatLeDev Date: Thu, 1 Oct 2026 11:25:59 +0200 Subject: [PATCH 05/16] fix(partners): show the default organization avatar for a pending partner A partner whose invitation is not accepted yet has no id, the avatar circle stayed empty; an unknown id serves the default organization image. --- ui/src/components/organization-partners.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ui/src/components/organization-partners.vue b/ui/src/components/organization-partners.vue index 32f8ad07..dec87d75 100644 --- a/ui/src/components/organization-partners.vue +++ b/ui/src/components/organization-partners.vue @@ -72,9 +72,9 @@