Bulk export rules incorrectly applied to group and patient exports #3400
Closed
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
- Create a patient and group resource
- Add the patient to the group
- Create user with permission to export a group with a different id from step 2
- With the user, initiate the
Group/[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