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
Activity
Show:
Verena Chung
March 20, 2020, 6:21 PM
Tested.
Thomas Yu
November 19, 2019, 10:17 PM
Edited
Is there a rest call that checks if a particular user has permission to download an entity.
Edit: There is a rest call, i fixed the PR
Thomas Yu
November 19, 2019, 10:11 PM