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.
Asked
Active
Viewed 490 times
5
-
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 Answers
4
You need an authorization framework like cancan or declarative_authorization for that.

Joshua Partogi
- 16,167
- 14
- 53
- 75
-
-
Authlogic is only for authentication. You need an authorization framework to do what you want. – Joshua Partogi May 02 '10 at 09:03
1
You can check out my example project with Authlogic, Facebook Connect, declarative_authorization and user to user messaging.

jspooner
- 10,975
- 11
- 58
- 81