Skip to content

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

Closed
@oliviayou

Description

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.

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions