I'm trying create Demo Web with Roles Adim,User I want my Demo have function same as: if user login with Username and Password of Admin then you can have roles Delete,Edit..and if login as Username and Password of user is none I tried with Mysql and someone giveme some advise.Thanks
on 2013-03-15 05:53
on 2013-03-15 06:18
I suggest you to look at, following gems: Devise -> Authentication CanCan -> Authorization rolify -> To manage roles Hope this would help you.
on 2013-03-15 09:46
On 15 March 2013 04:53, haxuan lac <lists@ruby-forum.com> wrote: > I'm trying create Demo Web with Roles Adim,User > I want my Demo have function same as: if user login with Username and > Password of Admin then you can have roles Delete,Edit..and if login as > Username and Password of user is none > I tried with Mysql and someone giveme some advise.Thanks First, if you have not already done so, work right through a good rails tutorial such as railstutorial.org, which is free to use online. Colin
on 2013-03-17 18:51
take a look at rails_composer. it's a great gem which will build a basic site for you with all the features you're looking for. The problem is, without a working knowledge of rails you won't know much about what to do with the results to make a site that does more than the basic authentication pieces you're looking at... good luck, Max
on 2013-03-17 19:38
You can use *cancan for Cancan *for role based authorization. Thanks, Sai Kiran Mothe *Founder. * http://railsconnect.com/
on 2013-03-18 09:15
Agile Web Development on Rails book has very good chapter about this , 15 2013 ., 8:53:45 UTC+4 Ruby-Forum.com User :
Please log in before posting. Registration is free and takes only a minute.
Existing account
(Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
Log in with Google account | Log in with Yahoo account
No account? Register here.