开发者

Recommendation for Role Gem

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


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

  • Declarative Auth: http://github.com/stffn/declarative_authorization
  • Ryan Bates' cancan: http://github.com/ryanb/cancan
  • ACL9: http://github.com/be9/acl9


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

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜