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)
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>
orFunc<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)