与 Authlogic 一起使用的一些好的角色授权解决方案有哪些?
我正在寻找一个好的基于角色的授权解决方案来与 Authlogic 一起使用。 大家有什么好的建议吗? 如果可能的话,请根据您的经验列出一些优点和缺点。
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.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(4)
查看 http://blog.platform45.com/ 2009/10/05/howto-basic-roles-for-users 用于基本角色要求,与restful_authentication和authlogic配合使用..
它非常简单,快速且轻量级。
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.
我最近一直在使用一个名为 easy_roles 的 gem。 重量超轻,使用起来超级方便。 它也足够灵活,您可以实现自己的控制器安全性等。
http://github.com/platform45/easy_roles
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
在 RailsConf 上,我看到了一场关于 Lockdown 的闪电演讲,印象非常深刻。 任何具有一定数据库和 Rails 经验的人都可以推出自己的 ACL 系统,但 Lockdown 看起来不错,因为它试图排除权限问题。
http://lockdown.rubyforge.org/
我以前使用过 role_requirement 但我没有挖掘它。
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.
Acl9 与 AuthLogic 配合得很好:
http://github.com/be9/acl9/tree/master< /a>
Acl9 works great with AuthLogic:
http://github.com/be9/acl9/tree/master