CORE-5356: updated the permissions model used by the coge file ingestion code when sharing files with the coge user