mono/mono — pull request #372 by JamesB7 (2012-07-03 19:48:33+00:00)
Title: Implemented DiscretionaryAcl and SystemAcl except for RemoveAccess

This patch implements AddAccess, RemoveAccessSpecific, and SetAccess on DiscretionaryAcl, and their Audit equivalents on SystemAcl. RemoveAccess is missing (MSDN does not document how it works, except alluding to a "complex algorithm", so this can wait until later) but otherwise this is a full implementation.

It also adds some ACE merging logic to CommonAce that was missing in the previous version.

With these classes done, CommonSecurityDescriptor and friends should be easily implementable.