stffn/declarative_authorization — Issue #125: Rule reloading no longer works in development
Author: urkle
Created: 2012-01-17 00:00:20+00:00
State: open

In previous version (0.5.3), the auth rules config would be reloaded with each request in development mode allowing for tweaking of the rules file without restarting the server.. However with 0.5.5 this no longer happens. It seems to be caused by commit fb37826 on lines 274/275 (self.initialize) (current master line 283). Basically the "or in development" check was removed. Is there a better way of implementing this now? Or was this an accidental removal?

Ideally I would like it to ONLY reload the files in AUTH_DSL_FILES *if* they have changed instead of every request.