Skip to content

CDD-3099 update non public caching#3003

Open
kathryn-dale wants to merge 11 commits intomainfrom
task/CDD-3099-update-non-public-caching
Open

CDD-3099 update non public caching#3003
kathryn-dale wants to merge 11 commits intomainfrom
task/CDD-3099-update-non-public-caching

Conversation

@kathryn-dale
Copy link
Contributor

@kathryn-dale kathryn-dale commented Feb 17, 2026

Description

This PR includes the following:

  • Add JWT detection middleware to identify if the request comes from a public or non-public user

  • If the request comes from a non-public user, bypass the cache and calculate the data fresh. This newly calculated data should NOT be saved in the cache

  • This work only covers the private api. It has been agreed to leave the public api for now, as private data is not returned from the public api currently, and it has been agreed not to use it for non public data in the immediate future.

Fixes #CDD-3099


Type of change

Please select the options that are relevant.

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Tech debt item (this is focused solely on addressing any relevant technical debt)

Checklist:

  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • I have added tests at the right levels to prove my change is effective
  • I have added screenshots or screen grabs where appropriate
  • I have added docstrings in the correct style (google)

@kathryn-dale kathryn-dale force-pushed the task/CDD-3099-update-non-public-caching branch from bf3ecb8 to 80a4c29 Compare February 17, 2026 15:08
@kathryn-dale kathryn-dale marked this pull request as ready for review February 18, 2026 10:03
@kathryn-dale kathryn-dale requested a review from a team as a code owner February 18, 2026 10:03
@sonarqubecloud
Copy link

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