2 roles, admin and user. Is using anything other than basic http auth overkill?
Posted
by juststarting
on Stack Overflow
See other posts from Stack Overflow
or by juststarting
Published on 2010-03-30T16:12:44Z
Indexed on
2010/03/30
16:23 UTC
Read the original article
Hit count: 246
I'm building my first website with rails,it consists of a blog, a few static pages and a photo gallery. The admin section has namespaced controllers. I also want to create a mailing list, collecting contact info, (maybe a spree store in the future too.)
Should I just use basic http authentication and check if the user is admin? Or is a plugin like authlogic better, then define user roles even though there would only be two; admin and user?
© Stack Overflow or respective owner