How does cancancan set the model instance, and how can I inspect it?

前端 未结 0 579
情书的邮戳
情书的邮戳 2021-01-29 22:07

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

I debugged in the rails console with something like



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