Corrected failing test
Fixed permission handling for batch actions