alexbeletsky/elmah-mvc

Override authorization logic

RudeySH opened this issue · 0 comments

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)