3 ms·
How about this? Build a general purpose "backend" interface that allows anybody trying to commercialize a web product to manage their users. Your system should
by samaparicio 16y ago
How about this? Build a general purpose "backend" interface that allows anybody trying to commercialize a web product to manage their users.
Your system should allow:
* the creation of superadmin accounts
* Map your user model to my user model
* CRUD users of my application
* Impersonate users of my application so I can see their data
* Expire / suspend / upgrade / downgrade users
* Search for users
* Notify a user via email of something
* Report top users by metric (in the mapping operation above we tell you where to look up these metrics)
* Report new signups per day
- myoung8 16y agoThere are various Rails plugins that take care of most of this stuff. I've had great success with restful_authentication (http://github.com/technoweenie/restful-authentication http://github.com/technoweenie/restful-authentication)
- steveklabnik 16y agoYou should check out AuthLogic. restful-auth's generator based approach is awkward sometimes, and it hasn't been updated in forever...
- SingAlong 16y agoDevise has been my choice in recent times. but beware it has no roles. it's simple and bakes in everything though. so in 2 commands in the terminal you'll see a login system in your browser including forgot password feature that authlogic doesn't give you. Making all of those features Samparicio said would be a little tough for code reuse. Engines feature was planned for Rails 3.0 beta but pushed to 3.x. That's the feature that can help code reuse. But it's possible to do this neatly on Django, which allows component-based architecture for apps.
- steveklabnik 16y agoAuthlogic has no roles either, I use acl9. Authlogic and forgotten passwords is pretty simple, though. It sort of gives it to you. Well, it gives you the tools. It's really only a tiny bit of coding. I'll certainly check out Devise though.
- ebtalley 16y ago+5, and make it plug and play with Spring/Hibernate.
- japetheape 16y agoI was already building something like this and your comment made me push the private beta :P. http://news.ycombinator.com/item?id=1451758 http://news.ycombinator.com/item?id=1451758
- aagha 16y agoNot sure if it covers all your bases, but check out Raible's AppFuse - http://appfuse.org http://appfuse.org