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

Add additional "group" method to Auth0 backend to fix integration tests #160

Closed chmreid closed 4 years ago

chmreid commented 4 years ago

This adds an additional action to the Auth0 Authorize class's existing CRUD actions: "group", which is a way of checking that a user belongs to a group, that does not perform a FLAC table lookup.

This is important for subscriptions/collections endpoints that need security decorators but that don't have UUIDs associated with their requests. The FLAC table lookup requires a UUID kwarg.

This should fix integration tests to get the FLAC table lookups working.