diff --git a/src/CommonLib/Processors/ACLProcessor.cs b/src/CommonLib/Processors/ACLProcessor.cs index 0add6a00..27afebac 100644 --- a/src/CommonLib/Processors/ACLProcessor.cs +++ b/src/CommonLib/Processors/ACLProcessor.cs @@ -243,8 +243,7 @@ public IEnumerable ProcessACL(byte[] ntSecurityDescriptor, string objectDom //Cool ACE courtesy of @rookuu. Allows a principal to add itself to a group and no one else if (aceRights.HasFlag(ActiveDirectoryRights.Self) && !aceRights.HasFlag(ActiveDirectoryRights.WriteProperty) && - !aceRights.HasFlag(ActiveDirectoryRights.GenericWrite) && objectType == Label.Group && - aceType == ACEGuids.WriteMember) + !aceRights.HasFlag(ActiveDirectoryRights.GenericWrite) && objectType == Label.Group) yield return new ACE { PrincipalType = resolvedPrincipal.ObjectType,