Merge branch 'main' of https://git.azuze.fr/kawa/SharepointToolbox-Web
This commit is contained in:
@@ -7,6 +7,7 @@
|
||||
@inject CsvExportService CsvExport
|
||||
@inject HtmlExportService HtmlExport
|
||||
@inject WebExportService WebExport
|
||||
@inject IAuditService Audit
|
||||
@rendermode InteractiveServer
|
||||
|
||||
<h1 class="page-title">Permissions Audit</h1>
|
||||
@@ -127,6 +128,8 @@
|
||||
}
|
||||
_bySite = bySite; _results = flat;
|
||||
_status = $"Scan complete: {_results.Count} entries across {_sites.Count} site(s).";
|
||||
await Audit.LogAsync("PermissionsScan", Session.CurrentProfile?.Name ?? "", _sites.Select(s => s.Url),
|
||||
$"{_results.Count} entries; inherited={_includeInherited} folders={_scanFolders} depth={_folderDepth} subsites={_includeSubsites}");
|
||||
}
|
||||
catch (OperationCanceledException) { _status = "Cancelled."; }
|
||||
catch (Exception ex) { _error = ex.Message; }
|
||||
|
||||
Reference in New Issue
Block a user