Fix producer permission bug