Support NTFS permission ensure for shares
This commit is contained in:
@@ -909,7 +909,7 @@ namespace C4IT.LIAM.Activities
|
||||
public InArgument<Guid> ConfigID { get; set; }
|
||||
|
||||
[Category("Input")]
|
||||
[DisplayName("Folder Path")]
|
||||
[DisplayName("Path")]
|
||||
[RequiredArgument]
|
||||
public InArgument<string> FolderPath { get; set; }
|
||||
|
||||
|
||||
@@ -420,7 +420,9 @@ namespace LiamWorkflowActivities
|
||||
if (!IsAdditionalConfigurationEnabled(provider, "EnsureNtfsPermissionGroups"))
|
||||
return true;
|
||||
|
||||
foreach (var ntfsArea in dataAreas.OfType<cLiamNtfsFolder>())
|
||||
foreach (var ntfsArea in dataAreas
|
||||
.Where(dataArea => dataArea is cLiamNtfsFolder || dataArea is cLiamNtfsShare)
|
||||
.Cast<cLiamNtfsPermissionDataAreaBase>())
|
||||
{
|
||||
var folderPath = ntfsArea.TechnicalName;
|
||||
if (string.IsNullOrWhiteSpace(folderPath))
|
||||
|
||||
Reference in New Issue
Block a user