stffn / declarative_authorization

An unmaintained authorization plugin for Rails. Please fork to support current versions of Rails
MIT License
1.24k stars 233 forks source link

Make overwritting of access filters optional. #187

Open tawan opened 10 years ago

tawan commented 10 years ago

In some cases it is convenient to combine access filters to a certain action of a controller. This was not possible since an access filter for the same action would overwrite any access filter to this action which had been defined earlier.

Make this behavior optional but default to overwitting.