Recommendation for Role Gem

2019-07-23 13:00发布

I have successfully gotten authlogic working with rails 3 on windows 7 x64. But I'm lost as for what I should use for managing user privileges any suggestion? Thank you

2条回答
Animai°情兽
2楼-- · 2019-07-23 13:23

Cancan http://github.com/ryanb/cancan is flexible enough to be easily extended with roles as Martin Rehfeld did with https://github.com/martinrehfeld/role_model. I've used this combination so often I created a gem to make working with these two gems simple https://github.com/james2m/canard

查看更多
Fickle 薄情
3楼-- · 2019-07-23 13:39

There are lots of options for authorization. My favorites in order are:

查看更多
登录 后发表回答