5

I followed this tutorial for setting Autlogic up properly. So, my site needs a form of level, like "Admin", "Moderator", "User", "Guest". So Admins can do everything, where Moderators may not can make site changes. And Users can't destroy, Update or Create.

Kara
  • 6,115
  • 16
  • 50
  • 57
  • Slighly offtopic, but consider giving Devise a look instead of using Authlogic. Even by using an older gem for rails 2, you will get a better service than with Autlogic. – kikito May 03 '10 at 21:43

2 Answers2

4

You need an authorization framework like cancan or declarative_authorization for that.

Joshua Partogi
  • 16,167
  • 14
  • 53
  • 75
1

You can check out my example project with Authlogic, Facebook Connect, declarative_authorization and user to user messaging.

http://github.com/jspooner/authlogic_cucumber_rspec_example

jspooner
  • 10,975
  • 11
  • 58
  • 81