开发者

authorize my rails 3 applicationd

开发者 https://www.devze.com 2023-04-08 00:21 出处:网络
I\'m developing a rails 开发者_StackOverflow社区3 application using inherited_resources and devise.

I'm developing a rails 开发者_StackOverflow社区3 application using inherited_resources and devise.

I tried to use cancan as my authorization plugin and it wasn't enough (i need more complex conditions for my authorization rules).

I also tried using declarative_authorization but my rules didn't work for the "index" method of my controllers.

Is there a RELIABLE rails plugin to handle authorization ?!

Thanks !


You can see a list of authorization gems in here. My advice to you is you should give cancan a second chance. It handles almost everything about authorization.

0

精彩评论

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

关注公众号