What are some good role authorization solutions used with Authlogic?

十年热恋 提交于 2019-12-18 13:27:45

问题


I am looking for a good role based authorization solution to use alongside Authlogic. Anyone have any good suggestions? Please list some pros and cons from your experience if possible please.


回答1:


Acl9 works great with AuthLogic:

http://github.com/be9/acl9/tree/master




回答2:


At RailsConf, I saw a lightning talk on Lockdown and was very impressed. Anyone with a modest amount of db and rails experience can roll their own ACL system, but Lockdown looks nice because it tries to keep the permission stuff out of the way.

http://lockdown.rubyforge.org/

I had used role_requirement previously but I didn't dig it.




回答3:


I have recently have been using a gem called easy_roles. Super light weight and super easy to use. It's also flexible enough for you to implement your own controller security etc etc.

http://github.com/platform45/easy_roles




回答4:


Check out http://blog.platform45.com/2009/10/05/howto-basic-roles-for-users for basic role requirement, works with restful_authentication and authlogic..

It's really simple, fast and lightweight.



来源:https://stackoverflow.com/questions/875595/what-are-some-good-role-authorization-solutions-used-with-authlogic

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!