stffn/declarative_authorization — Issue #121: Authorization.ignore_access_control  +  Production mode  =  :(
Author: DanKnox
Created: 2012-01-03 19:01:53+00:00
State: open

My application is experiencing an issue that only crops up after being in production mode for a few days. At this point in time, requests that are working fine suddenly begin redirecting with access denied.

This is happening on a restful API that is exposed to third parties. For the API, we disable access control using `Authorization.ignore_access_control(true)` in a before filter and `Authorization.ignore_access_control(false)` in an after filter. Is there something obviously wrong with doing this that I am missing?

Any help is appreciated.