Users are autoadded to the deleted groups

Bug #1733963 reported by Yuliya Bozhko
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mahara
Fix Released
Medium
Unassigned

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

Revision history for this message
Mahara Bot (dev-mahara) wrote : A patch has been submitted for review

Patch for "master" branch: https://reviews.mahara.org/8300

Revision history for this message
Mahara Bot (dev-mahara) wrote :

Patch for "master" branch: https://reviews.mahara.org/8301

Changed in mahara:
importance: Undecided → Medium
milestone: none → 18.04.0
status: New → In Progress
Revision history for this message
Mahara Bot (dev-mahara) wrote : A change has been merged

Reviewed: https://reviews.mahara.org/8300
Committed: https://git.mahara.org/mahara/mahara/commit/58ed18d690a675c48e467930c359b57d7c28fa00
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

behatnotneeded

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

Changed in mahara:
status: In Progress → Fix Committed
Revision history for this message
Mahara Bot (dev-mahara) wrote :

Reviewed: https://reviews.mahara.org/8301
Committed: https://git.mahara.org/mahara/mahara/commit/55d17eec38c9674f3287abdfeaefd81fc1f47d80
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

behatnotneeded

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

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

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.