alexbeletsky / elmah-mvc

Painless integration of ELMAH into ASP.NET MVC application
http://nuget.org/packages/Elmah.MVC
Apache License 2.0
266 stars 61 forks source link

Override authorization logic #91

Open RudeySH opened 7 years ago

RudeySH commented 7 years ago

I would like to be able to override the authorization logic with my own. In other words, allow me to programmatically provide an Action<bool> or Func<HttpRequest, bool> that determines if the user is authorized to see ELMAH.

I need this because I would like to check if a specific cookie is set to a specific value. (Developer Cookie)