Deleting institution error: people still attached to auth method

Bug #1304146 reported by Robert Lyon
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Mahara
Fix Released
Medium
Cecilia Vela Gurovic

Bug Description

Need to improve error message when deleting institution when there are still people attached to it's auth method(s).

Robert Lyon (robertl-9)
Changed in mahara:
status: New → Confirmed
importance: Undecided → Medium
Changed in mahara:
status: Confirmed → In Progress
Changed in mahara:
assignee: nobody → Cecilia Vela Gurovic (ceciliavg)
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/7074

Revision history for this message
Mahara Bot (dev-mahara) wrote : A change has been merged

Reviewed: https://reviews.mahara.org/7074
Committed: https://git.mahara.org/mahara/mahara/commit/933fc2666becd5b251610e1b3ffcf6a952e9c368
Submitter: Robert Lyon (<email address hidden>)
Branch: master

commit 933fc2666becd5b251610e1b3ffcf6a952e9c368
Author: Cecilia Vela Gurovic <email address hidden>
Date: Wed Oct 5 11:45:21 2016 +1300

Bug 1304146: Delete remote user when delete institution

If a user has manually assigned a remote authorization method
from an institution and he is not a member of that institution
when we try to delete the institution there will still be
a record in auth_remote_user table.

When the institution is deleted, so is the authorization method,
and so should be the remote user record.

behatnotneeded

Change-Id: I91dcadc5fbfddc8941c60adc78f304996591b3b8

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

Patch for "16.10_STABLE" branch: https://reviews.mahara.org/7080

Revision history for this message
Mahara Bot (dev-mahara) wrote : A change has been merged

Reviewed: https://reviews.mahara.org/7080
Committed: https://git.mahara.org/mahara/mahara/commit/3763b1e946a1af4c388f6873c87f16d3af65eb1a
Submitter: Robert Lyon (<email address hidden>)
Branch: 16.10_STABLE

commit 3763b1e946a1af4c388f6873c87f16d3af65eb1a
Author: Cecilia Vela Gurovic <email address hidden>
Date: Wed Oct 5 11:45:21 2016 +1300

Bug 1304146: Delete remote user when delete institution

If a user has manually assigned a remote authorization method
from an institution and he is not a member of that institution
when we try to delete the institution there will still be
a record in auth_remote_user table.

When the institution is deleted, so is the authorization method,
and so should be the remote user record.

behatnotneeded

Change-Id: I91dcadc5fbfddc8941c60adc78f304996591b3b8
(cherry picked from commit 933fc2666becd5b251610e1b3ffcf6a952e9c368)

Robert Lyon (robertl-9)
Changed in mahara:
milestone: none → 16.10.0
status: In Progress → Fix Committed
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.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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