You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Under assignment screen, we show up user group name of the user during assignment, so right now it shows the voided user group entries as well. Voided user groups as in, the user was earlier part of some user group and now has been removed from the group, and that group still shows along with his name.
To Reproduce
Steps to reproduce the behavior:
Go to LAHI (Lend A Hand India) organisation.
GO to assignment screen, select Assigned to as Alim in the filter
See that user group names are coming along with his name which he is not part of now.
See error in the attached screenshot.
Expected behavior
Ideally the user groups from which the user has been removed should not have come on the assignment screen
Test Data
Query to see his user group assignment details--
set role lahi;
select * from user_group where user_id in (select id from users where username = 'alims@lahi');
Screenshots
Developer Checklist(Developer fixing the bug should fill this checklist)
Does the fix require extensive regression testing?
Yes
No
Are you mentioning the required scenarios that could be affected?
Yes
No
The text was updated successfully, but these errors were encountered:
Code changes will only affect list of userGroups for Users. Its mostly a safe code change, as we are only filtering out voided userGroups from the users response.
aUser has 15 userGroups which include 13 voided and 2 unvoided. (Everyone is hidden)
Describe the bug
Under assignment screen, we show up user group name of the user during assignment, so right now it shows the voided user group entries as well. Voided user groups as in, the user was earlier part of some user group and now has been removed from the group, and that group still shows along with his name.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Ideally the user groups from which the user has been removed should not have come on the assignment screen
Test Data
Query to see his user group assignment details--
set role lahi;
select * from user_group where user_id in (select id from users where username = 'alims@lahi');
Screenshots
Developer Checklist(Developer fixing the bug should fill this checklist)
The text was updated successfully, but these errors were encountered: