-
Notifications
You must be signed in to change notification settings - Fork 5.2k
Closed
Labels
area-System.SecurityquestionAnswer questions and provide assistance, not an issue with source code or documentation.Answer questions and provide assistance, not an issue with source code or documentation.untriagedNew issue has not been triaged by the area ownerNew issue has not been triaged by the area owner
Description
As best I can determine from my own test code (against 3.0.0) and as mentioned in #17693, PrincipalPermissionAttribute exists as a type but has no effect. MSDN also states "This attribute has no effect in .NET Core."
This seems dangerous, as a user porting existing code might expect that, if the attribute compiles, that it also functions. Since the purpose of this attribute is security, the consequences of a false assumption could be significant.
Is it a well-considered opinion that the attribute should exist yet be non-functional (not even a compiler warning...) or is this a decision warranting review?
beachwalker and anionDev
Metadata
Metadata
Assignees
Labels
area-System.SecurityquestionAnswer questions and provide assistance, not an issue with source code or documentation.Answer questions and provide assistance, not an issue with source code or documentation.untriagedNew issue has not been triaged by the area ownerNew issue has not been triaged by the area owner