Enforce system-only SMART export access#5674
Draft
mikaelweave wants to merge 2 commits into
Draft
Conversation
mikaelweave
changed the base branch from
mikaelweave-async-job-smart-scope-e2e-tests
to
main
July 15, 2026 00:37
mikaelweave
force-pushed
the
mikaelweave-system-only-smart-exports
branch
from
July 15, 2026 02:40
5de924c to
342cee6
Compare
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #5674 +/- ##
==========================================
+ Coverage 77.51% 77.57% +0.06%
==========================================
Files 1005 1006 +1
Lines 36950 37016 +66
Branches 5606 5621 +15
==========================================
+ Hits 28640 28714 +74
+ Misses 6952 6937 -15
- Partials 1358 1365 +7 🚀 New features to boost your workflow:
|
mikaelweave
force-pushed
the
mikaelweave-system-only-smart-exports
branch
3 times, most recently
from
July 15, 2026 15:03
4b2ba57 to
90a2b82
Compare
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 13c9cccc-8ec4-4b60-8da0-f36ee9ab8be5
mikaelweave
force-pushed
the
mikaelweave-system-only-smart-exports
branch
2 times, most recently
from
July 16, 2026 20:15
7022c9f to
ba21911
Compare
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 13c9cccc-8ec4-4b60-8da0-f36ee9ab8be5
mikaelweave
force-pushed
the
mikaelweave-system-only-smart-exports
branch
from
July 16, 2026 20:16
ba21911 to
4a29e7f
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
$exportcreate, status, and cancel only through unconstrainedsystem/scopes while preserving RBAC and non-SMART behaviorPatient/$exportrequires Patient access, andGroup/{id}/$exportrequires Group and Patient access, in addition to every output type_typesubsets and reject scope overreach; when a partial system caller omits_type, infer and persist the authorized resource-type subset instead of requiring wildcard access_type, and completed output types for status/cancel while preserving not-found masking and legacy no-_typewildcard behaviorRelated issues
AB#197149
Testing
testconfiguration.json