The access controls mixin moved to the search builder, and if you include it in the controller the method doesn't work. Specs didn't catch it because they're all stubbed out and verifying doubles must be turned off.
This is working fine for us. Are you using noids? If so, you may need a before filter that sets params[:id] = #repository id# before calling enforce_show_permissions
The access controls mixin moved to the search builder, and if you include it in the controller the method doesn't work. Specs didn't catch it because they're all stubbed out and verifying doubles must be turned off.