ohcnetwork / care_fe

Care is a Digital Public Good enabling TeleICU & Decentralised Administration of Healthcare Capacity across States.
https://care.ohc.network
MIT License
205 stars 381 forks source link

Nurse user type without home facility is able to edit prescriptions #7755

Open samholics opened 4 months ago

samholics commented 4 months ago

Describe the bug Nurse user id without Homefacility shouldn't be able to edit the prescription

To Reproduce Steps to reproduce the behavior:

  1. Go to patient dashboard
  2. Click on medication and edit prescription
  3. See error

Expected behavior When click on 'edit prescription', Show some error message saying no permission to do this task without a homefacility linked

github-actions[bot] commented 4 months ago

:warning: Refrain from assigning this issue to yourself if you have another P1 issue assigned that is not yet closed.

github-actions[bot] commented 4 months ago

Hi, @coronasafe/care-frontend-maintainers, This issue has been automatically marked as stale because it has not had any recent activity.

nihal467 commented 4 months ago

@rithviknishad downgrading it to P2, as frontend changes are been merged

github-actions[bot] commented 3 months ago

Hi, @coronasafe/care-frontend-maintainers, This issue has been automatically marked as stale because it has not had any recent activity.

rithviknishad commented 1 month ago

Updated the backend based on review changes requested