Welcome to Working With Rails

 

Discussion Forums

Discuss all things Ruby on Rails with perhaps the web's most vibrant group of Ruby on Rails enthusiasts.
problem in identification in login
4 Posts
problem in identification in login

i do the project for acedmic year in ROR. The project based on day to day problem facing in org. like hardware, software problems etc. In my project rails doesnot takes login that user has admin, user or techican. I want in my project that when user login whoever my controller find he is admin or tech or normal user. please how can i solve my problem

I think your problem is one of "Role Based Authentication". Just search this keyword on google.com and hope you can find anything helpful.

Thanks for it. I found authencation said keyword but it has written in asp.net, so i come difficulty in cover in ruby it.

Refer to this project: http://code.google.com/p/substruct/ and check out the authentication module in scope "admin".

Hope it is helpful :-)

4 Posts
Login to add your message