From 2302cad5313b6d4d0cda1b2a3c530dc94fac8e5c Mon Sep 17 00:00:00 2001 From: Dev Date: Thu, 9 Apr 2026 14:33:00 +0200 Subject: [PATCH] feat(18-02): DataGrid visual differentiation + localization for elevated rows - Add WasAutoElevated DataTrigger to DataGrid.RowStyle: amber background + tooltip - Add warning icon (U+26A0) indicator column (width 24) before Object Type column - Icon shown via DataTrigger on WasAutoElevated, hidden by default - Add permissions.elevated.tooltip EN key to Strings.resx - Add permissions.elevated.tooltip FR key to Strings.fr.resx --- .../Localization/Strings.fr.resx | 1 + SharepointToolbox/Localization/Strings.resx | 1 + .../Views/Tabs/PermissionsView.xaml | 26 ++++++++++++++++++- 3 files changed, 27 insertions(+), 1 deletion(-) diff --git a/SharepointToolbox/Localization/Strings.fr.resx b/SharepointToolbox/Localization/Strings.fr.resx index d3f62a9..bddc5ae 100644 --- a/SharepointToolbox/Localization/Strings.fr.resx +++ b/SharepointToolbox/Localization/Strings.fr.resx @@ -416,4 +416,5 @@ Propriété du site Prendre automatiquement la propriété d'administrateur de collection de sites en cas de refus d'accès Lorsqu'activé, l'application prendra automatiquement les droits d'administrateur de collection de sites lorsqu'un scan rencontre une erreur de refus d'accès. Nécessite les permissions d'administrateur de tenant. + Ce site a été élevé automatiquement — la propriété a été prise pour compléter le scan diff --git a/SharepointToolbox/Localization/Strings.resx b/SharepointToolbox/Localization/Strings.resx index 641bee3..4d83e0a 100644 --- a/SharepointToolbox/Localization/Strings.resx +++ b/SharepointToolbox/Localization/Strings.resx @@ -416,4 +416,5 @@ Site Ownership Automatically take site collection admin ownership on access denied When enabled, the app will automatically elevate to site collection admin when a scan encounters an access denied error. Requires Tenant Admin permissions. + This site was automatically elevated — ownership was taken to complete the scan diff --git a/SharepointToolbox/Views/Tabs/PermissionsView.xaml b/SharepointToolbox/Views/Tabs/PermissionsView.xaml index c832321..6ba6697 100644 --- a/SharepointToolbox/Views/Tabs/PermissionsView.xaml +++ b/SharepointToolbox/Views/Tabs/PermissionsView.xaml @@ -216,7 +216,7 @@ - + + + + + + + + + + + + +