How to diagnose a problem with the model instance loaded in cancan ability?

前端 未结 0 946
囚心锁ツ
囚心锁ツ 2021-01-29 21:09

I noticed users could access an action they shouldn\'t be able to access.

I debugged in the rails console with something like



        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题