mirror of
https://github.com/BepInEx/mono.git
synced 2026-11-18 17:02:10 -10:00
Details worth being aware of, that aren't well documented in MS.NET:
(1) The Rights property is just a casted AccessMask.
I've checked this by testing with MS.NET -- if you use AccessRule<Test>
with an arbitrary struct Test { }, MS.NET has an InvalidCastException
on the Rights getter if you create with ObjectSecurity's factory method
(which is passed an int), and in the constructor if you use AccessRule's
constructor.
(2) The string constructor overloads call 'new NTAccount(identity)'.
What these methods do for AccessRule is not documented by MS.NET,
but this *is* documented for SemaphoreAccessRule, and my testing
with C# shows AccessRule does the same thing. So, I've implemented
this behavior to match.
I will submit a separate patch afterwards to make AuthorizationRule's
accept NTAccount, which is required for the string overloads to work.
Contrary to the MS.NET *documentation* (which Mono follows), AuthorizationRule
actually accepts NTAccount as well as (the documented) SecurityIdentifier.
I verified this by deriving a class from AuthorizationRule.
93 lines
3.2 KiB
Plaintext
93 lines
3.2 KiB
Plaintext
2012-06-30 James Bellinger <[email protected]>
|
|
|
|
* AccessRule_T.cs AuditRule_T.cs: Implemented .NET 4.0 generic
|
|
versions of AccessRule and AuditRule.
|
|
* ObjectSecurity_T.cs: Type returns are now correct.
|
|
|
|
2009-08-29 Zoltan Varga <[email protected]>
|
|
|
|
* ObjectSecurity_T.cs: New file, empty stub for new net 4.0 class.
|
|
|
|
2008-07-02 Andreas Nahr <[email protected]>
|
|
|
|
* MutexAccessRule.cs:
|
|
* MutexAuditRule.cs: Fix parameter names
|
|
|
|
2008-04-02 Andreas Nahr <[email protected]>
|
|
|
|
* CompoundAce.cs: Fix parameter names
|
|
|
|
2007-09-21 Atsushi Enomoto <[email protected]>
|
|
|
|
* AccessRule.cs AceEnumerator.cs AuditRule.cs AuthorizationRule.cs
|
|
AuthorizationRuleCollection.cs CommonAce.cs CommonAcl.cs
|
|
CommonObjectSecurity.cs CompoundAce.cs CryptoKeyAccessRule.cs
|
|
CryptoKeyAuditRule.cs CryptoKeySecurity.cs CustomAce.cs
|
|
DirectoryObjectSecurity.cs DirectorySecurity.cs
|
|
DiscretionaryAcl.cs EventWaitHandleAccessRule.cs
|
|
EventWaitHandleAuditRule.cs EventWaitHandleSecurity.cs
|
|
FileSecurity.cs FileSystemAccessRule.cs FileSystemAuditRule.cs
|
|
FileSystemSecurity.cs GenericAce.cs GenericAcl.cs KnownAce.cs
|
|
MutexAccessRule.cs MutexAuditRule.cs MutexSecurity.cs
|
|
NativeObjectSecurity.cs ObjectAccessRule.cs ObjectAce.cs
|
|
ObjectAuditRule.cs ObjectSecurity.cs QualifiedAce.cs
|
|
RawAcl.cs RegistryAccessRule.cs RegistryAuditRule.cs
|
|
RegistrySecurity.cs SystemAcl.cs :
|
|
they are not still functional, but being implemented.
|
|
|
|
2006-10-31 Sebastien Pouliot <[email protected]>
|
|
|
|
* AccessRule.cs, AceEnumerator.cs, AuditRule.cs,
|
|
AuthorizationRuleCollection.cs, AuthorizationRule.cs, CommonAcl.cs,
|
|
CommonObjectSecurity.cs, FileSystemSecurity.cs, GenericAce.cs,
|
|
KnownAce.cs, NativeObjectSecurity.cs, ObjectSecurity.cs,
|
|
QualifiedAce.cs: Hide extraneous public empty .ctor.
|
|
|
|
2006-10-30 Sebastien Pouliot <[email protected]>
|
|
|
|
* PrivilegeNotHeldException.cs: Fix namespace.
|
|
|
|
2006-07-06 Dick Porter <[email protected]>
|
|
|
|
* Completely stubbed the System.Security.AccessControl namespace
|
|
for the 2.0 profile.
|
|
|
|
2005-12-23 Dick Porter <[email protected]>
|
|
|
|
* MutexRights.cs: New for 2.0 profile
|
|
|
|
2005-12-17 Dick Porter <[email protected]>
|
|
|
|
* EventWaitHandleRights.cs: New for 2.0 profile
|
|
|
|
* MutexSecurity.cs:
|
|
* EventWaitHandleSecurity.cs:
|
|
* CommonObjectSecurity.cs:
|
|
* NativeObjectSecurity.cs:
|
|
* ObjectSecurity.cs: New partial stub for 2.0 profile
|
|
|
|
2005-12-14 Sebastien Pouliot <[email protected]>
|
|
|
|
* AccessControlSections.cs: New (2.0). Enum required for DirectoryInfo
|
|
* DirectorySecurity.cs: New (2.0). Partial stub for DirectoryInfo
|
|
|
|
2005-04-22 Sebastien Pouliot <[email protected]>
|
|
|
|
* AccessControlActions.cs: Removed [ComVisible] and [Serializable] to
|
|
match beta2.
|
|
|
|
2005-01-10 Sebastien Pouliot <[email protected]>
|
|
|
|
* CryptoKeySecurity.cs: Class declaration to complete CspParameters
|
|
and CspKeyContainerInfo in System.Security.Cryptography.
|
|
|
|
2004-07-08 Sebastien Pouliot <[email protected]>
|
|
|
|
* AccessControlActions.cs: Fixed enum values. Added missing attributes.
|
|
|
|
2004-07-07 Sebastien Pouliot <[email protected]>
|
|
|
|
* AccessControlActions.cs: New enum in Fx 2.0. Required for new stuff
|
|
in System.Security.Permissions. Will also "creates" the namespace for
|
|
"corcompare".
|