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

Fixes use restricted data token on unrestricted report documents #682

Merged
merged 4 commits into from
Apr 20, 2024

Conversation

jbaelo
Copy link
Contributor

@jbaelo jbaelo commented Apr 10, 2024

Try to solve issue: #671

jbaelo and others added 3 commits April 10, 2024 18:03
* Any middleware applied to an endpoint that is specified in the restricted.json
  or grantless.json resource files must invoke the relevant RDT/Grantless middleware
  itself, since those middlewares will no longer be automatically applied
* Invoke RestrictedDataToken middleware from RestrictedReport middleware,
  instead of applying both middlewares to the GetReportDocument request class
* Remove restricted report check from GetReportDocument class since it is
  autogenerated
* Safety checks in DownloadsDocument when looking for the document type in
  JSON files
@jlevers jlevers merged commit 6100e79 into jlevers:main Apr 20, 2024
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.

None yet

2 participants