Users are autoadded to the deleted groups

Bug #1733963 reported by Yuliya Bozhko on 2017-11-22
This bug affects 1 person
Affects Status Importance Assigned to Milestone

Bug Description

To reproduce:

# create a group with "Auto-add users" setting on.
# delete a group
# create a user after the group has been deleted
# if you check group_members table, you will see that the new user was added to the deleted group

Mahara Bot (dev-mahara) wrote :

Patch for "master" branch:

Changed in mahara:
importance: Undecided → Medium
milestone: none → 18.04.0
status: New → In Progress

Submitter: Robert Lyon (<email address hidden>)
Branch: master

commit 58ed18d690a675c48e467930c359b57d7c28fa00
Author: Yuliya Bozhko <email address hidden>
Date: Thu Nov 23 10:54:56 2017 +1300

Bug 1733963: Do not auto-add users to the deleted groups


Change-Id: Ic35bbc464ab2c9fa812d66e8e7adc5b71a6da7ba
Signed-off-by: Yuliya Bozhko <email address hidden>

Changed in mahara:
status: In Progress → Fix Committed
Mahara Bot (dev-mahara) wrote :

Submitter: Cecilia Vela Gurovic (<email address hidden>)
Branch: master

commit 55d17eec38c9674f3287abdfeaefd81fc1f47d80
Author: Robert Lyon <email address hidden>
Date: Thu Nov 23 13:11:10 2017 +1300

Bug 1733963: Remove users from groups if added after group deleted

This can happen if a group had auto add new members on yet the group
was deleted when the user was added to the site


Change-Id: I72de52032f41c21d961d437c48a6e87d4f299188
Signed-off-by: Robert Lyon <email address hidden>

Robert Lyon (robertl-9) on 2018-04-05
Changed in mahara:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers