Requisition Group update does not update the assigned roles

Description

During the execution of OLMIS-4259, I noticed that after adding the facility to the requisition group, the user's roles are not updated, which means that the order can not be fulfilled.

Reproduction steps:

  1. Logging into the application and setting the "Essential Meds" program at Balaka District Warehouse as locally fulfilled;

  2. Changing the Balaka District Warehouse's requisition group to RG Essential Meds 1;

  3. Creating, submitting, authorizing and approving a requisition for Comfort Health Clinic and the Essential Meds program;

  4. Go to Orders > Fulfill Orders;

  5. An error appears:

Expected results:

  • The roles should be updated so that one can fulfill the order.

Note: We can avoid this bug by adding any role to the user and updating them.

Dev notes:

  • Probably permission strings are not regenerated after requisition group update

Environment

None

Attachments

1

Activity

Aleksandra Hinc 
February 13, 2023 at 1:40 PM

This issue is canceled, according to the: , the issue can't be fixed.

Szymon Rujner 
February 16, 2022 at 10:48 AM

The issue is still possible to reproduce

Joanna Bebak 
January 16, 2020 at 1:38 PM

The issue is still valid.

Joanna Szymańska 
April 18, 2019 at 8:36 AM

I added a note of how we can avoid this bug.

Sam Im 
April 17, 2019 at 1:11 PM

This has been prioritized as major because this is an edge case. is currently working through the reproduction steps.

Unresolved
Pinned fields
Click on the next to a field label to start pinning.

Details

Assignee

Reporter

Components

Priority

Time Assistant

Created April 17, 2019 at 8:36 AM
Updated February 13, 2023 at 1:40 PM