search for: rbac_user

Displaying 2 results from an estimated 2 matches for "rbac_user".

Did you mean: ram_user
2006 Apr 27
6
Functional Test Problem. Nubee, please help
ALl my controllers require the user to be logged in. SO they will be redirected to my "login" controller. How do i login first in a functional test? Im assuming i use the setup method to login the controller. This is the setup method for the Activities controller functional test: def setup @controller = ActivitiesController.new @request =
2006 May 04
0
Using ActiveRBAC 0.3.1 to restrict entire site?
...n my application controller, but I don''t know how to do the except correctly. I''ve been trying this: class ApplicationController < ActionController::Base before_filter :protect_all, :except => ''login'' protected def protect_all if !session[:rbac_user].nil? return true else redirect_to "/active_rbac/login" return false end end end Is there a way to use :except for this, or do I need to go about this a diffent way? Thanks Greg -- Greg Freemyer The Norcross Group For...