DataBiosphere / data-store

AWS and GCP data storage system for genomic data.
https://dss.dev.ucsc-cgp-redwood.org
Other
3 stars 2 forks source link

DSS Auth: Require all security decorator parameters to be keyword args #128

Closed chmreid closed 4 years ago

chmreid commented 4 years ago

This modifies the prior pull request #126 so that none of the security decorators accept positional arguments. This makes the code inside the authorization classes cleaner, and makes it more clear where and how to check for required parameters.

This also updates tests so that they will pass using the new decorators.

chmreid commented 4 years ago

All the security decorators need to be updated too, see #129 for that