I was looking into Devise and CanCan for the first time just the other day,
and the approach sounds like the one you need.

http://www.tonyamoyal.com/2010/07/28/rails-authentication-with-devise-and-cancan-customizing-devise-controllers/

On Tue, Mar 8, 2011 at 2:14 AM, Zakris Zoukrou <[email protected]> wrote:

> Hello
>
> I create a register/login page to can use it later on my page and i
> want/have to add permissions for the users so that they cant
> delete/comment/etc things from the site that only admins can do!
>
> Can u help me?
> Thank you
>
> Attachments:
> http://www.ruby-forum.com/attachment/6006/scrumptious.rar
>
>
> --
> Posted via http://www.ruby-forum.com/.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Ruby on Rails: Talk" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/rubyonrails-talk?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to