In the Agile Development book, I have an Admin MVC that controls login. In ApplicationController , I have a before_filter that checks authorization. Thus, this will verify that the user is logged in for each page.
The problem is that I want everyone to be able to access the new method, for example, in "Users" (that is, everyone should be able to create a new user - naturally!) Only admin users should have access to other methods in UserController such as edit , etc.). What is the best way to do this?
source share