care_fe icon indicating copy to clipboard operation
care_fe copied to clipboard

Error message on clicking patient Card (User Type: Pharmacist)

Open Sunilsubba opened this issue 1 year ago • 6 comments

Describe the bug An error message is coming up when clicking on the patient card to view the patient dashboard.

To Reproduce

  1. Login with provided credential
  2. Go to Patient
  3. Click on any Patient Card
  4. Error: "You don't have permission to perform this action."

Login Credential Username: pharmacist_123 Password: Lilo@123

** Expected Behavior** Pharmacists are allowed to view the patient details but not edit them. So, an error message should only come up when they try to update something on patient details.

Screenshots Screenshot (15) Screenshot (16)

Sunilsubba avatar Feb 02 '24 12:02 Sunilsubba

seems like acces control restricton from the backend @aparnacoronasafe can you update this table with pharmacist and other roles

sainak avatar Feb 02 '24 12:02 sainak

@sainak

Please find the updated user access in the required format here: https://docs.google.com/spreadsheets/d/1HFmwBbbzQfeBy6fHkIbeNhrncil6c8fR8xmn7SIw9sU/edit?usp=sharing

aparnacoronasafe avatar Feb 15 '24 08:02 aparnacoronasafe

Hi, @gigincg, @nihal467, @khavinshankar, @mathew-alex, @aparnacoronasafe, This issue has been automatically marked as stale because it has not had any recent activity.

github-actions[bot] avatar Mar 01 '24 04:03 github-actions[bot]

Hi. Is this issue still relevant? @aparnacoronasafe @gigincg

kabirrajsingh avatar Mar 26 '24 14:03 kabirrajsingh

@nihal467 Can you comment on the relevance of this

cc: @kabirrajsingh

gigincg avatar Mar 28 '24 17:03 gigincg

@kabirrajsingh the issue is still relevant, the modified user access is attached in the sheet

nihal467 avatar Apr 27 '24 07:04 nihal467