Rails authlogic: How to make levels?

I followed this guide to install Autlogic correctly . Thus, my site needs a level form, for example, "Administrator", "Moderator", "User", "Guest". Thus, administrators can do everything where moderators can not create site changes. Users cannot destroy, update or create.

+5
source share
2 answers

You need an authorization structure like cancan or declarative_authorization for this.

+4
source

Authlogic, Facebook Connect, declarative_authorization .

http://github.com/jspooner/authlogic_cucumber_rspec_example

+1

All Articles