Displaying 2 results from an estimated 2 matches for "require_admin".
2008 Nov 28
3
name space and before filter
is it possible to have a before filter apply to all controllers in a
name space, or do you have to do it separate for each individual
controller. for example, an admin name space with a require_admin
before filter.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from thi...
2005 Nov 10
0
[OT] Model Security
...curity question on this list but I can''t
find anywhere to bring this up on the Model Security project page.
I''ve found a bug (I think) in the Model Security generator but I''m not
sure... I''m pretty noob and I could just be missing something.
I''ve got a require_admin in my controller. When I log in as a non admin, and
try a task that is protected, I get thrown back to the login page as I
expected. However, what I didn''t expect was when I try to log in as the same
non admin user (or probably a different one) I can''t get past the login
screen. I...