BS-7163
Handle write permissions when exporting an artifact
Merge remote-tracking branch 'origin/master' into DataManagement