check for batch permission