Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Legalhold: Remove caching for whitelisted teams #1574

Merged
merged 4 commits into from
Jun 7, 2021

Conversation

smatting
Copy link
Contributor

@smatting smatting commented Jun 7, 2021

Follow up from #1557. This removes the full-table scan strategy and adds a whitelist query on every team member lookup.

This PR also removes the internal endpoint
GET /i/legalhold/whitelisted-teams
and introduces a new internal endpoint
GET /i/legalhold/whitelisted-teams/:tid" (200 if the team is whitelisted, otherwise 404)

@smatting smatting requested a review from arianvp June 7, 2021 11:13
@smatting smatting marked this pull request as ready for review June 7, 2021 11:16
@smatting smatting merged commit aa65a4a into develop Jun 7, 2021
@smatting smatting deleted the SQSERVICES-490-remove-broken-caching branch June 7, 2021 12:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants