Changes to be made
getUserAccessibleLocationUuids(User authenticatedUser) function of LocationUtils file.
If the user has the Location user property then return list the locations from user property.
If a user has
Role | Privileges
R1 | p11,p12,p13,p14
R2 | p21,p22,p23,p24
R3 | p31,p32,p33,p34
To get the User Accessible locations from the Roles we need to check every privilege whether does it belongs to any location access and appends the corresponding location to List. Assign the Locations List as User property to user.
- Enable encounter access based on patient location or multiple admitted/channelled locations.
In the current system, we use Encounter Location for access checking we need to change it to Location of the corresponding patient.
Need to work out both the Issues as per the timeline
Prepare for Evaluation1.
cc:@suthagar23, above are plans for this week.