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

Remove delete security decorators from notify v1/v2 delete endpoints #154

Closed chmreid closed 4 years ago

chmreid commented 4 years ago

This PR removes the delete security decorators from the delete endpoints for v1 and v2 notifiers.

These endpoints already check the token for an email claim (which raises an Unauthorized DSSException if the email claim is not in the token) and verifies that the user requesting deletion is the owner of the subscription. So this endpoint is a special case where the "auth check" is done by the endpoint itself.