diff --git a/src/CommonLib/Processors/ACLProcessor.cs b/src/CommonLib/Processors/ACLProcessor.cs index 433c4d21..09ed0549 100644 --- a/src/CommonLib/Processors/ACLProcessor.cs +++ b/src/CommonLib/Processors/ACLProcessor.cs @@ -380,6 +380,7 @@ or Label.Group or Label.Computer or Label.GPO or Label.OU + or Label.Domain or Label.CertTemplate or Label.RootCA or Label.EnterpriseCA @@ -419,7 +420,7 @@ or Label.NTAuthStore IsInherited = inherited, RightName = EdgeNames.WriteAccountRestrictions }; - else if (objectType == Label.OU && aceType == ACEGuids.WriteGPLink) + else if (objectType is Label.OU or Label.Domain && aceType == ACEGuids.WriteGPLink) yield return new ACE { PrincipalType = resolvedPrincipal.ObjectType, @@ -601,4 +602,4 @@ public IEnumerable ProcessGMSAReaders(byte[] groupMSAMembership, string obj } } } -} \ No newline at end of file +}