Discussion Forums
- Topic List
- Most Recent Posts
- Sign In for more options
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 :-)
