Copy function should copy things when users are part of a Team that has DOWNLOAD access

Description

Unfortunately, upon adding the check to make sure a user has DOWNLOAD permissions, I forgot that this does not check if the user is part of a Team that has download permissions.

So upon copying, projects that had public download permissions were not being copied. This is affecting our archive project submission tool, which uses synapseutils.copy.

Environment

python3, 1.9.4

Status

Assignee

Thomas Yu

Reporter

Thomas Yu

Labels

None

Validator

Bruce Hoff

Development Area

None

Release Version History

None

Priority

Major
Configure