Skip to content

Commit

Permalink
chore: add missing inheritancehash value for owns
Browse files Browse the repository at this point in the history
  • Loading branch information
rvazarkar committed Oct 17, 2024
1 parent 44eafd5 commit af8a9e6
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/CommonLib/Processors/ACLProcessor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -270,15 +270,17 @@ public async IAsyncEnumerable<ACE> ProcessACL(byte[] ntSecurityDescriptor, strin
PrincipalType = resolvedOwner.ObjectType,
PrincipalSID = resolvedOwner.ObjectIdentifier,
RightName = EdgeNames.Owns,
IsInherited = false
IsInherited = false,
InheritanceHash = ""
};
} else {
_log.LogTrace("Failed to resolve owner for {Name}", objectName);
yield return new ACE {
PrincipalType = Label.Base,
PrincipalSID = ownerSid,
RightName = EdgeNames.Owns,
IsInherited = false
IsInherited = false,
InheritanceHash = ""
};
}
}
Expand Down

0 comments on commit af8a9e6

Please sign in to comment.