开发者

good walk-through on authentication and authorization in rails?

开发者 https://www.devze.com 2023-01-10 03:09 出处:网络
Im new to rails and would like to implement author开发者_运维问答ization and authentication for my app, is there any good walk-through from the installation of the plug in to getting role based author

Im new to rails and would like to implement author开发者_运维问答ization and authentication for my app, is there any good walk-through from the installation of the plug in to getting role based authorization implemented?

thanks


I would recomend you to check out the excellent railscasts site, where you can find many authentication/authorization implementation examples. I would choose between:

Authentication:

  • Authlogic
  • Devise

Authorization

  • Cancan
  • Declarative Authorisation


Try http://railscasts.com

specifically:

http://railscasts.com/episodes/192-authorization-with-cancan
or
http://railscasts.com/episodes/188-declarative-authorization

There are lots of plugins but the above are a good place to start (and railscasts is a great resource)

0

精彩评论

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

关注公众号