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

Bulk export rules incorrectly applied to group and patient exports #3400

Closed
oliviayou opened this issue Feb 17, 2022 · 0 comments · Fixed by #3403
Closed

Bulk export rules incorrectly applied to group and patient exports #3400

oliviayou opened this issue Feb 17, 2022 · 0 comments · Fixed by #3403
Assignees

Comments

@oliviayou
Copy link
Collaborator

Bulk export rules in RuleBulkExportImpl.java are not being applied to group and patient export operations (Patient/$export and Group/Id/$export)

To Reproduce

  1. Create a patient and group resource
  2. Add the patient to the group
  3. Create user with permission to export a group with a different id from step 2
  4. With the user, initiate theGroup/[id]/$export operation, replacing the id with the id in step 2

Expected behavior
All groups are returned. Instead, the user should be provided an error as they are not permitted to export the group.

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 a pull request may close this issue.

1 participant