开发者

Recommendation for Role Gem

开发者 https://www.devze.com 2023-01-27 05:06 出处:网络
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 youThere are lots of

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

精彩评论

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