the power of cream

2 views
Skip to first unread message

Ming

unread,
Feb 15, 2011, 11:03:48 PM2/15/11
to Cream
I'm new to authentication+authorization.

I understand devise and cancan. I don't understand what extra cream
brings to those two by integrating roles. Cancan does roles as too.

I guess I won't appreciate the power of the Cream until I hit
limitations in my project.

Can I start a project with devise+cancan and bring in roles and Cream
later when I see the need without much difficulty?

Thanks.

Kristian Mandrup

unread,
Feb 16, 2011, 4:48:33 AM2/16/11
to rails...@googlegroups.com
Cream is meant to help you configure Devise and Cancan for you so you don't have to struggle with that manually and includes some customization strategies. The Roles solutions are much more powerful, including a permits solution.  
Also Cream supports multiple Object Data mappers...
Start trying to set up Devise and Cancan on your own and then perhaps throw in CanCan-permits or one of the Roles Generic solutions. The whole roles and user types is a complex issue... IMO we need a good walkthrough of this whole area with pros and cons of different requirements and solutions.

Cheers!

Kristian 
Reply all
Reply to author
Forward
0 new messages