check user can edit and export first