Open acesuares opened 12 years ago
I don't get it. I uncommented line #267, just to be able to proceed.
Dear submitter, Since cancan/raynB hasn't been active for more than 6 months and no body else then ryam himself has commit permissions the cancan project is on a stand still. Since cancan has several issues including missing support for rails 4 cancan is moving forward to cancancan. More details on: #994
If your feel that your pull request or bug is still applicable (and hasn't been merged in to cancan) it would be really appreciated if you would resubmit it to cancancan (https://github.com/cancancommunity/cancancan)
We hope to see you on the other side!
Great, @xhoy looking forward to improvements!
In ability.rb I have:
The error happens in the after_filter at ine 266:
controller.params[:action], controller.params[:controller] = 'update', 'domains'
In the debuuger I fid this:
What happens is this: I show a form, where I show a domain and try to update the autoapprove checkbox. My update method in the controller looks like this:
So, everything happens up to the rendering. The value is saved to the object nicely. But when the after_filter kicks in, it throws this InsufficientAuthorizationCheck exception.
Any ideas on why?