Uploaded image for project: 'Location Based Access Control'
  1. Location Based Access Control
  2. LBAC-9

Failed to restrict the the patient by location when searched using the UUID.

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Should
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.1.0
    • Labels:
    • Complexity:
      Low

      Description

      Location based access control module only prepared to deal with getPatients() and getPatient() methods from PatientService. 

      But there is another method called getPatientByUuid() which direct access to the DAO. So it should be restricted by the location property to ensure the functionality of the module.

      Dev Notes

      Need to add an AOP Advise for getPatientByUuid() method here : https://github.com/openmrs/openmrs-module-locationbasedaccess/blob/master/api/src/main/java/org/openmrs/module/locationbasedaccess/PatientSearchAdviser.java

       

        Gliffy Diagrams

          Attachments

            Attachments-Category-Modification

              Activity

                People

                • Assignee:
                  suthagar23 Suthagar Kailayapathy
                  Reporter:
                  suthagar23 Suthagar Kailayapathy
                  Watchers:
                  Daniel Kayiwa, Suthagar Kailayapathy
                  Designated Committer:
                  Suthagar Kailayapathy
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: