Duke-GCB / DukeDSClient

Command line program to allow uploading, downloading, and managing projects in the duke-data-service.
MIT License
5 stars 6 forks source link

Prevent giving download permissions to delivery recipient #297

Closed johnbradley closed 4 years ago

johnbradley commented 4 years ago

Show an error if a user tries to give download permissions to the recipient as part of a delivery. This doesn't make sense because the delivery recipient will have admin permissions when accepting the delivery and cannot have lower permissions. In DDS one user must have admin permissions.

Example command line that should show an error:

ddsclient deliver -p ProjectName --user bob123  --share-user bob123