search for: logingeneratoraclsystem

Displaying 6 results from an estimated 6 matches for "logingeneratoraclsystem".

2006 Apr 14
6
LoginGeneratorACLSystem Issue
Hello all, Again, thank you all in advance for any help here. I am trying to figure out how to show the role associated with a user, in a template. I am using the LoginGeneratorACLSystem along with the LoginGenerator. I can show the first name of the user by writing "<%= session[:user].first_name %>" but when I write "<%= session[:user].roles.name %>" it spits out "Role". I am not sure what I am doing wrong. Essentially what I am tryin...
2006 Jan 06
7
how do I create a change password using sha1?
Hello, The problem I am having is I have a form where a user can edit their data that does not include their password. I have another form that I allow them to change their password. Both forms use the before_update method that hashes the password. There is no password in the first form. Am I making this too complicated? How do I call the hash_password for only the second form? Both forms use
2006 Jun 18
0
login generator
hey all, i''m having some pretty aggravating moments with the begining of the installation of the acl_system(..permissions, etc) provided on http://wiki.rubyonrails.com/rails/pages/LoginGeneratorACLSystem ...for some apparent(or non-apparent, to be exact) reason, my application.rb won''t read the require_dependency "acl_system" line in the app. controller! i checked the lib folder, and it includes the percise file(acl_system) with the percise name...no matter how i pla...
2006 Jun 19
0
logingenerator multiple select
hi, ..i''ve just finished installing the login generator and acl system from http://wiki.rubyonrails.com/rails/pages/LoginGeneratorACLSystem (sql sctructure of a habtam relationship of roles//users, roles//permissions and so, being able to asign roles[with the associated permissions]to the users..) anyway, now i need to implement associating the correct permissions for the correct role in the view, and so after scaffoling, i'...
2005 Nov 23
1
How to set flash for before_filter :login_system ?
Hello all, I''m using Login Generator ACL System<http://wiki.rubyonrails.com/rails/pages/LoginGeneratorACLSystem> I want to know if there is a way to set the flash(:notice) before the before_filter is processed so that the flash() is available on my login page ? IE: "regular" user changes URL to an "admin" page, then I want the login''s flash to say "Please login as adminis...
2006 Jul 27
4
roles based authentication
hi! im trying to implement a role based authentication in my project, but im writing too many conditions, and i think thats not the right way to proceed. i have search in google, but there are a lot of plugins and "tutorials", and they are always not similar, so i dont understand them. please could someone help me? maybe with a easy authentication or with a good/nice tutorial?