What are some good role authorization solutions us

2019-02-07 04:37发布

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.

4条回答
We Are One
2楼-- · 2019-02-07 05:24

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楼-- · 2019-02-07 05:32

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楼-- · 2019-02-07 05:34

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.

查看更多
爱情/是我丢掉的垃圾
5楼-- · 2019-02-07 05:38

Acl9 works great with AuthLogic:

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

查看更多
登录 后发表回答