Added new feature : display the file/folder and link of a SharingLink object in the permissions reports.
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
using SharepointToolbox.Core.Helpers;
|
||||
|
||||
namespace SharepointToolbox.Core.Models;
|
||||
|
||||
/// <summary>
|
||||
/// Resolved target for a SharePoint system group (Limited Access For Web/List or SharingLinks).
|
||||
/// Carries the human-readable label, the navigable URL, and (for sharing links) the link type
|
||||
/// so the export layer can render a clickable link in the Granted Through cell.
|
||||
/// </summary>
|
||||
public record SystemGroupTarget(
|
||||
SystemGroupKind Kind,
|
||||
string Label, // e.g. "MyList" | "Shared Documents/Folder/File.docx" | "Site - HR"
|
||||
string Url, // Navigable URL of the targeted resource
|
||||
string? LinkType = null // For SharingLinks: "OrganizationEdit", "AnonymousView", etc.
|
||||
);
|
||||
Reference in New Issue
Block a user