AspNetCore.Docs icon indicating copy to clipboard operation
AspNetCore.Docs copied to clipboard

Authorization Filters

Open danroth27 opened this issue 11 years ago • 13 comments

ASP.NET MVC -> Security -> Authorization Filters

danroth27 avatar Apr 21 '15 05:04 danroth27

Any status update on when this will be written?

uwbadgerdev avatar Aug 03 '15 21:08 uwbadgerdev

Not yet - it's still on the backlog.

danroth27 avatar Aug 03 '15 21:08 danroth27

Hi Dan. Thanks for the update.

uwbadgerdev avatar Aug 06 '15 19:08 uwbadgerdev

I hope this stays:

[ClaimsPrincipalPermission(SecurityAction.Demand, Operation = "OperationA", Resource = "DeletePage")]

or improves.

At the moment I am unable to find anything that parallels it. I have been searching all of 30 minutes though.

neville-lewis avatar Dec 14 '15 16:12 neville-lewis

@blowdart

danroth27 avatar Dec 14 '15 17:12 danroth27

Long gone. Use imperative resource based checks. It was never part of asp.bet in the first place, it was code access security based which has been removed.

blowdart avatar Dec 14 '15 17:12 blowdart

I hope this stays:

What @blowdart is referring to is something similar added to ASP.NET 5, but much improved. Check out the updated docs for more info (policy-based and resource-based authorization).

brockallen avatar Dec 14 '15 23:12 brockallen

https://docs.asp.net/en/latest/security/authorization/resourcebased.html

blowdart avatar Dec 14 '15 23:12 blowdart

Merging with #119

danroth27 avatar Dec 15 '15 01:12 danroth27

This issue is linked to here https://docs.microsoft.com/en-us/aspnet/core/security/authorization/authorization-filters

It seems like it's been closed incorrectly as #119 does have a little bit about authorization filters but it doesn't cover it properly and the dedicated page has been left as a stub.

It seems either this issue should be re-opened or the stub should be removed.

rtpHarry avatar Jan 10 '17 21:01 rtpHarry

@rtpHarry I think we just need to remove the stub. Most of the authorization related content is actually covered under the Authorization section, which is linked to from the Filters doc: https://docs.microsoft.com/en-us/aspnet/core/security/authorization/introduction.

Are there specific concerns related to authorization filters that you would like to see added to the docs?

danroth27 avatar Jan 10 '17 22:01 danroth27

I don't know about them, I'm just learning. I just wanted to point it out but I don't have a solution :)

rtpHarry avatar Jan 10 '17 22:01 rtpHarry

@rtpHarry That's cool. Let us know if you have any specific questions!

danroth27 avatar Jan 10 '17 22:01 danroth27